0.1.11 • Published 3 years ago

@simplr-wc/checkbox v0.1.11

Weekly downloads
-
License
ISC
Repository
github
Last release
3 years ago

Simplr Checkbox

Usage

Import
import '@simplr-wc/checkbox';
Use
<simplr-checkbox
  name="selection"
  label="Option 1"
></simplr-checkbox>

Properties

PropertyAttributeTypeDefaultDescription
checkedcheckedbooleanfalseIf the checkbox is checked.
disableddisabledbooleanfalseIf the checkbox is disabled.
indeterminateindeterminatebooleanfalseIf the checkbox is in an indeterminate state.
labellabelstring""Label shown next to checkbox
namenamestring""Name of checkbox.
valuevaluestring""Value of the checkbox field.

Methods

MethodType
getChecked(): boolean
getValue(): string
setChecked(checked: any): void
setIndeterminate(on: any): void

Events

Event
change
0.1.11

3 years ago

0.1.10

3 years ago

0.1.9

3 years ago

0.1.8

3 years ago

0.1.7

3 years ago

0.1.0

3 years ago

0.1.2

3 years ago

0.1.1

3 years ago

0.1.4

3 years ago

0.1.3

3 years ago

0.3.0

4 years ago

0.2.0

4 years ago

0.1.6

4 years ago

0.1.5

4 years ago