te-checkmark
v1.3.0
Published
Checkmark button custom element
Downloads
6
Maintainers
Readme
te-checkmark
Checkmark button custom element
Purpose
A checkbox alternative with no value, but caption and simple design.
Install
npm i -S te-checkmark
Usage
<te-checkmark>Optional</te-checkmark>
Properties
| Property | Type | Description |
|---|---|---|
| checked | boolean
| An indicator if the option button is checked. |
CSS Variables
| Var | Description
|---|---|
| --te-checkmark-padding | The padding arround the checkmark (and the optional caption). |
| --te-checkmark-checked-color | The :checked
state color for font and border. |
License
GPL-2.0 © Willi Eßer