mdl-select-component
v0.0.9
Published
mdl-selectfield for material-design-lite
Downloads
2,286
Maintainers
Readme
mdl-selectfield
Material Design Lite selectfield component (https://github.com/google/material-design-lite)
Live Example
Check out the jsfiddle
Basic use
To use any MDL component, you must include the minified CSS and JavaScript files using standard relative-path references
in the <head>
section of the page, as described in the MDL Introduction.
Examples
Select field.
<div class="mdl-selectfield mdl-js-selectfield">
<select id="myselect" name="myselect" class="mdl-selectfield__select">
<option value=""></option>
<option value="option0_value">option 0</option>
<option value="option1_value">option 1</option>
</select>
<label class="mdl-selectfield__label" for="myselect">Choose option</label>
</div>