vwc-radio
/
2.28.0
vwc-radio 2.28.0
Install from the command line:
Learn more about npm packages
$ npm install @vonage/vwc-radio@2.28.0
Install via package.json:
"@vonage/vwc-radio": "2.28.0"
About this version
This component is an extension of
Property | Modifiers | Type | Description |
---|---|---|---|
checked |
boolean |
We define our own getter/setter for checked because we need to trackchanges to it synchronously. The order in which the checked property is set across radio buttonswithin the same group is very important. However, we can't rely on UpdatingElement's updated callback to observe these changes (which isalso what the @observer decorator uses), because it batches changes toall properties. Consider: radio1.disabled = true; radio2.checked = true; radio1.checked = true; In this case we'd first see all changes for radio1, and then for radio2, and we couldn't tell that radio1 was the most recently checked. |
|
disabled |
boolean |
||
floatingLabelFoundation |
MDCFloatingLabelFoundation | undefined |
||
global |
boolean |
||
lineRippleFoundation |
MDCLineRippleFoundation | undefined |
||
name |
string |
||
ripple |
readonly | RippleInterface | undefined |
Implement ripple getter for Ripple integration with mwc-formfield |
value |
string |
Method | Type |
---|---|
click |
(): void |
focus |
(): void |
focusNative |
(): void |
setAriaLabel |
(label: string): void |
Event |
---|
checked |