Options
All
  • Public
  • Public/Protected
  • All
Menu

Polymer element to select an item from a list

Hierarchy

Index

Constructors

Static constructor

  • Returns SettingDropdownElement

Events

onItemSelected

  • onItemSelected(ev: CustomEvent): void
  • menu item tapped

    Parameters

    • ev: CustomEvent

    Returns void

Properties

Protected disabled

disabled: boolean = false

Disabled state of element

Protected items

items: string[] = []

Array of Menu item labels

Protected label

label: string = ""

Descriptive label

Protected name

name: string = "store"

Element name

Protected noseparator

noseparator: boolean = false

Visibility state of optional divider

Protected sectionTitle

sectionTitle: string = ""

Optional group title

Protected template

template: DomRepeat

paper-listbox template

Protected value

value: number = 0

Selected menu item index

Accessors

Static mainContent

  • get mainContent(): HTMLTemplateElement
  • Override mainContent from SettingBase

    Returns HTMLTemplateElement

Static template

  • get template(): HTMLTemplateElement
  • Returns HTMLTemplateElement

Methods

Protected fireEvent

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

    Parameters

    • name: string

      event name

    • Optional detailValue: any

      optional value

    Returns 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