myg-input
v0.13.8
Published
Myg input (and textarea) component.
Downloads
11
Readme
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'), {} );
})