@vonage/vwc-switch

switch component

Usage no npm install needed!

<script type="module">
  import vonageVwcSwitch from 'https://cdn.skypack.dev/@vonage/vwc-switch';
</script>

README

vwc-switch

This component is an extension of

Properties

Property Modifiers Type Description
checked boolean
disabled boolean
floatingLabelFoundation MDCFloatingLabelFoundation \| undefined
lineRippleFoundation MDCLineRippleFoundation \| undefined
ripple readonly RippleInterface \| undefined Implement ripple getter for Ripple integration with mwc-formfield

Methods

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