Options
All
  • Public
  • Public/Protected
  • All
Menu

Polymer element to select a background style

Hierarchy

Index

Constructors

Static constructor

  • Returns SettingBackgroundElement

Events

onOK

  • onOK(): void
  • Set selected background on tap of OK button

    Returns void

onTap

  • onTap(): void
  • Show dialog on tap

    Returns void

Properties

Protected dialog

dialog: PaperDialogElement

dialog

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

Protected selected

selected: string = "b1"

Element id of currently selected background style

Protected value

value: string = "background:linear-gradient(to bottom, #3a3a3a, #b5bdc8)"

Selected backed style

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