Skip to content

v1.0.0-alpha1 — First Alpha Release ☑

Compare
Choose a tag to compare
@limonte limonte released this 01 Jun 12:07
· 384 commits to master since this release

Live Demo ↗

API Documentation ↗

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>