Sha256: 0ead0c48ffcb49ad45495a69264a7e2b5002f965b466dcf8cad1d499c0135de6
Contents?: true
Size: 786 Bytes
Versions: 6
Compression:
Stored size: 786 Bytes
Contents
# paper-checkbox `paper-checkbox` is a button that can be either checked or unchecked. User can tap the checkbox to check or uncheck it. Usually you use checkboxes to allow user to select multiple options from a set. If you have a single ON/OFF option, avoid using a single checkbox and use `paper-toggle-button` instead. Example: ```html <paper-checkbox>label</paper-checkbox> <paper-checkbox checked>label</paper-checkbox> ``` Styling a checkbox: ```html <style is="custom-style"> paper-checkbox { /* Unhecked state colors. */ --paper-checkbox-unchecked-color: #5a5a5a; --paper-checkbox-unchecked-ink-color: #5a5a5a; /* Checked state colors. */ --paper-checkbox-checked-color: #009688; --paper-checkbox-checked-ink-color: #009688; } </style> ```
Version data entries
6 entries across 6 versions & 2 rubygems