Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
..
Failed to load latest commit information.
README.md
screenshot.png
select-dark.svg
select.css
select.html
select.js
select.meta
select.svg

README.md

Select

Button

The Select Input component wraps an HTML <select> element.

How to use

"select": {
    "prototype": "digit/ui/select.reel",
    "properties": {
        "element": {"#": "select"},
        "content": [
            {"label": "California", "code": "CA"},
            {"label": "Hawaii", "code": "HI"},
            {"label": "New York", "code": "NY"}
        ]
    }
}
<select data-montage-id="select"></select>

Available properties

  • value - Value of the select element.

Customizing with CSS

  • .digit-Select - The select element
.digit-Select {
    background-color: pink;
}

Browser support

  • Chrome (latest)
  • Firefox (latest)
  • Opera (latest)
  • IE 10+
  • Safari 7+