v1.0.0-alpha1 — First Alpha Release ☑
Features
-
Polymer 2.0 support
-
Native
<checkbox>
attributes:checked
,indeterminate
,disabled
-
Has
focused
attribute when checkbox is focused -
Has
focus-ring
attribute when checkbox is focused using keyboard -
Has
active
attribute when checkbox is being pressed -
Themable using style modules:
<dom-module id="checkbox-styles" theme-for="vaadin-checkbox"> <template> <style> [part~="wrapper"] { /* styles for the `<label>` element which wrapps the native checkbox with label */ } [part~="native-checkbox"] { /* styles for the `<input type="checkbox">` element */ } [part~="checkbox"] { /* styles for the `<span>` element - custom graphical check */ } [part~="label"] { /* styles for the `<span>` element with slotted text/HTML label */ } </style> </template> </dom-module>