myg-toolbar

0.13.8 • Public • Published

Toolbars

Usage

Stylesheets

@import "myg-toolbar/toolbar"

// Include classes (optional)
+myg__classes--toolbar

Javascript

import MygToolbar from 'myg-toolbar';

document.addEventListener( 'ready', () => {
  const mygToolbar = new MygToolbar( document.querySelector('.myg-toolbar'), {} );
})

or

import * as myg from 'myg/src/myg';
const MygToolbar = myg.MygToolbar;

document.addEventListener( 'ready', () => {
  const mygToolbar = new MygToolbar( document.querySelector('.myg-toolbar'), {} );
})

Readme

Keywords

none

Package Sidebar

Install

npm i myg-toolbar

Weekly Downloads

3

Version

0.13.8

License

MIT

Unpacked Size

3.32 kB

Total Files

6

Last publish

Collaborators

  • jonhue