1.1.2 • Published 10 months ago
@equinor/fusion-wc-radio v1.1.2
<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.2
10 months ago
1.1.1
1 year ago
1.1.0
2 years ago
1.0.1
2 years ago
1.0.0
2 years ago
0.2.27
2 years ago
0.2.26
2 years ago
0.2.26-next.1
2 years ago
0.2.26-next.0
2 years ago
0.2.25
2 years ago
0.2.24
2 years ago
0.2.23
2 years ago
0.2.22
3 years ago
0.2.21
3 years ago
0.2.20
3 years ago
0.2.16
3 years ago
0.2.15
3 years ago
0.2.14
3 years ago
0.2.19
3 years ago
0.2.18
3 years ago
0.2.17
3 years ago
0.2.13
4 years ago
0.2.12
4 years ago
0.2.10
4 years ago
0.2.9
4 years ago
0.2.8
4 years ago
0.2.7
4 years ago
0.2.6
4 years ago
0.2.5
4 years ago
0.2.4
4 years ago
0.2.3
4 years ago
0.2.2
4 years ago
0.2.1
4 years ago