myg-action-button
v0.13.8
Published
Floating action buttons presenting a clear call-to-action.
Downloads
5
Readme
Action Buttons
Usage
Stylesheets
@import "myg-action-button/action-button"
// Include classes (optional)
+myg__classes--action-button
Javascript
import MygActionButton from 'myg-action-button';
document.addEventListener( 'ready', () => {
const mygActionButton = new MygActionButton( document.querySelector('.myg-action-button'), {} );
})
or
import * as myg from 'myg/src/myg';
const MygActionButton = myg.MygActionButton;
document.addEventListener( 'ready', () => {
const mygActionButton = new MygActionButton( document.querySelector('.myg-action-button'), {} );
})