Options
All
  • Public
  • Public/Protected
  • All
Menu

Switch allows the user to select between one or two values.

Hierarchy

Implements

Index

Constructors

Properties

Methods

Object literals

Constructors

constructor

  • children is an array of content passed to this Component.

    Parameters

    Returns Switch

Properties

attrs

children

children: Content[]

view

view: View = new Main(this)

Methods

removed

  • removed(): void
  • Returns void

render

  • render(): Content
  • Returns Content

rendered

  • rendered(): void
  • Returns void

Object literals

values

values: object

input

input: object

disabled

disabled: boolean = this.attrs.ww.disabled ? true : null

name

name: string = this.attrs.ww.name

value

value: boolean = this.attrs.ww.value || null

onChange

  • onChange(): void

root

root: object

class

class: string = SWITCH

slider

slider: object

class

class: string = SWITCH_SLIDER

Generated using TypeDoc