mdl-select-component

0.0.9 • Public • Published

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>

/mdl-select-component/

    Package Sidebar

    Install

    npm i mdl-select-component

    Weekly Downloads

    174

    Version

    0.0.9

    License

    MIT

    Last publish

    Collaborators

    • zetta83