1.1.1 • Published 2 months ago
@equinor/fusion-wc-radio v1.1.1
<fusion-wc-radio>
Installation
npm install @equinor/fusion-wc-radio
Example Usage
<fwc-radio name='group1' value='value1' checked/>
<fwc-radio name='group1' value='value2'/>
Properties/Attributes
Name | Type | Default | Description |
---|---|---|---|
checked | boolean | false | Whether this radio button is the currently-selected one in its group. Maps to the native checked attribute. |
disabled | boolean | false | If true , this radio button cannot be selected or de-selected. Maps to the native disabled attribute. |
name | string | '' | Name of the input for form submission, and identifier for the selection group. Only one radio button can be checked for a given selection group. Maps to the native name attribute. |
value | string | '' | Value of the input for form submission. Maps to the native value attribute. |
global | boolean | false | If true , this radio button will use a global, document-level scope for its selection group rather than its local shadow root. |
reducedTouchTarget | boolean | false | When true , the radio removes touch target that extends beyond visual boundary of the component. Set to false by default to meet Material accessibility guidelines. |
formElementTabIndex | number | 0 | Input's tabindex is updated based on checked status. Tab navigation will be removed from unchecked radios. |
Events
Name | Detail | Description |
---|---|---|
change | {} | Fired when the user modifies the radio checked state from an input device interaction on this radio. Note that, like native <input> , the change event is not fired when the checked property is set from JavaScript, nor is it fired when another radio in the same group becomes checked . |
1.1.1
2 months ago
1.1.0
6 months ago
1.0.1
6 months ago
1.0.0
8 months ago
0.2.27
8 months ago
0.2.26
8 months ago
0.2.26-next.1
8 months ago
0.2.26-next.0
8 months ago
0.2.25
11 months ago
0.2.24
1 year ago
0.2.23
1 year ago
0.2.22
1 year ago
0.2.21
2 years ago
0.2.20
2 years ago
0.2.16
2 years ago
0.2.15
2 years ago
0.2.14
2 years ago
0.2.19
2 years ago
0.2.18
2 years ago
0.2.17
2 years ago
0.2.13
3 years ago
0.2.12
3 years ago
0.2.10
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