Back to Floating Action Button-guidelines

JavaScriptThe latest version of this package is: 0.18.6, Opens in new window

Tooltip javascript

This component is compatible with ESM (ES6 module) and IIFE. See documentation examples below.

To be able to install this component, please refer to the Project Setup documentation.

$ npm i @ids-js/floating-action-button@0.18.6

Table of Contents

Usage

This script is currently only for the back to top button!

Required markup

<button
  aria-label="Back to top"
  class="if floating-action-button back-to-top"
></button>

Script

<script src="../floating-action-button.iife.js"></script>
<script>
  IDSFLoatingActionButton.init();
</script>

Module

import { init as IDSFLoatingActionButton } from '@ids-js/floating-action-button';
IDSFLoatingActionButton();

Changelog

Change Log

All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.

0.17.0 (2021-10-21)

Code Refactoring

  • ๐Ÿ’ก Remove support for CommonJS (9f84d9a)

BREAKING CHANGES

  • ๐Ÿงจ We have removed the support for CommonJS for all @ids-js packages

0.16.1 (2021-10-21)

Bug Fixes

  • Use common for cjs and main for esm (96f673d)

0.14.0 (2021-10-14)

Features

Contact us, Opens in new window