1.1.1 • Published 2 months ago

@equinor/fusion-wc-checkbox v1.1.1

Weekly downloads
-
License
ISC
Repository
github
Last release
2 months ago

fusion-wc-checkbox Published on npm

Storybook

Material Web Component

Installation

npm install @equinor/fusion-wc-checkbox

Example Usage

<fwc-checkbox value='value' checked/>

Properties/Attributes

NameTypeDefaultDescription
checkedbooleanfalseWhether the checkbox is checked.
indeterminatebooleanfalseWhen a checkbox is the parent of a set of child checkboxes, the indeterminate state is used on the parent to indicate that some but not all of its children are checked.
disabledbooleanfalseWhen true, the checkbox cannot be interacted with, and renders in muted colors.
valuestring''The value that will be included if the checkbox is submitted in a form.
reducedTouchTargetbooleanfalseWhen true, the checkbox remove padding for touchscreens and increase density. Note, the checkbox will no longer meet accessibility guidelines for touch.

Events

Event NameTargetDetailDescription
changefwc-checkbox{}Fired when the user modifies the checkbox checked or indeterminate states from an input device interaction. Note that, like native <input>, the change event is not fired when the checked or indeterminate properties are set from JavaScript.
1.1.1

2 months ago

1.1.0

6 months ago

1.0.1

7 months ago

1.0.0

8 months ago

0.3.17

8 months ago

0.3.16

8 months ago

0.3.16-next.1

8 months ago

0.3.16-next.0

8 months ago

0.3.15

11 months ago

0.3.14

1 year ago

0.3.13

1 year ago

0.3.12

1 year ago

0.3.11

2 years ago

0.3.10

2 years ago

0.3.9

2 years ago

0.3.6

2 years ago

0.3.5

2 years ago

0.3.8

2 years ago

0.3.7

2 years ago

0.3.4

2 years ago

0.3.3

3 years ago

0.3.2

3 years ago

0.3.0

3 years ago

0.2.9

3 years ago

0.2.8

3 years ago

0.2.7

3 years ago

0.2.6

3 years ago

0.2.5

3 years ago

0.2.4

3 years ago

0.2.3

3 years ago

0.2.2

3 years ago

0.2.1

3 years ago