Options
All
  • Public
  • Public/Protected
  • All
Menu

Class LabelsDialogElement

Polymer dialog to select from a list of labels

Hierarchy

Index

Constructors

Static constructor

  • Returns LabelsDialogElement

Properties

Protected dialog

dialog: PaperDialogElement

paper-dialog

Protected dialogTitle

dialogTitle: "Select labels" = "Select labels"

Dialog title

Protected labels

labels: Label[] = []

Array of all Label objects

Protected selectedLabels

selectedLabels: string[] = []

Array of selected Label names

Accessors

Static template

  • get template(): HTMLTemplateElement

Methods

close

  • close(): void

Protected fireEvent

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

    Parameters

    • name: string

      event name

    • Optional detailValue: any

      optional value

    Returns void

open

  • open(): 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