myg-input

0.13.8 • Public • Published

Inputs

Usage

Stylesheets

@import "myg-input/input"
 
// Include classes (optional)
+myg__classes--input
 
// Include mappings (optional)
+myg__mappings--input

Javascript

import MygInput from 'myg-input';
 
document.addEventListener( 'ready', () => {
  const mygInputs = MygInput.initAll( document.querySelectorAll('.myg-input'), {} );
})

or

import * as myg from 'myg/src/myg';
const MygInput = myg.MygInput;
 
document.addEventListener( 'ready', () => {
  const mygInputs = MygInput.initAll( document.querySelectorAll('.myg-input'), {} );
})

Readme

Keywords

none

Package Sidebar

Install

npm i myg-input

Weekly Downloads

43

Version

0.13.8

License

MIT

Unpacked Size

5.23 kB

Total Files

6

Last publish

Collaborators

  • jonhue