Skip to content
vwc-radio / 2.32.0

vwc-radio 2.32.0

Install from the command line:
Learn more about npm packages
$ npm install @vonage/vwc-radio@2.32.0
Install via package.json:
"@vonage/vwc-radio": "2.32.0"

About this version

vwc-radio

This component is an extension of

Properties

Property Modifiers Type Description
checked boolean We define our own getter/setter for checked because we need to track
changes to it synchronously.

The order in which the checked property is set across radio buttons
within the same group is very important. However, we can't rely on
UpdatingElement's updated callback to observe these changes (which is
also what the @observer decorator uses), because it batches changes to
all 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

Methods

Method Type
click (): void
focus (): void
focusNative (): void
setAriaLabel (label: string): void

Events

Event
checked

Details


Assets

  • vwc-radio-2.32.0-npm.tgz

Download activity

  • Total downloads 10
  • Last 30 days 0
  • Last week 0
  • Today 0