switch
Extends:
src/utils/component.js~Component.default → switch
UI Switch
Example:
new mdw.Switch({
element: document.body.appendChild(document.createElement('div')),
text: 'my switch'
})
Constructor Summary
Public Constructor | ||
public |
constructor(options: *) constructor |
Method Summary
Public Methods | ||
public |
render(): void render DOM elements |