Options
All
  • Public
  • Public/Protected
  • All
Menu

Polymer element for a toggle button

Hierarchy

Index

Constructors

Static constructor

Events

onChange

  • onChange(): void

onTap

  • onTap(ev: Event): void

Properties

checked

checked: boolean

Checked state

Protected disabled

disabled: boolean = false

Disabled state of element

Protected mainLabel

mainLabel: string

Descriptive label

Protected name

name: string = "store"

Element name

Protected noseparator

noseparator: boolean = false

Visibility state of optional divider

Protected secondaryLabel

secondaryLabel: string

Secondary descriptive label

Protected sectionTitle

sectionTitle: string = ""

Optional group title

Accessors

Static mainContent

  • get mainContent(): HTMLTemplateElement

Static template

  • get template(): HTMLTemplateElement

Methods

Protected fireEvent

  • fireEvent(name: string, detailValue?: any): void

setChecked

  • setChecked(checked: boolean): void

Static localize

  • localize(name: string, def?: undefined | string): string
  • Localize a string

    Parameters

    • name: string

      name from _locales

    • Optional def: undefined | string

      optional default value if name not found

    Returns string

Generated using TypeDoc