Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ErrorDialogElement

Polymer dialog to display an error

Hierarchy

Index

Constructors

Events

Properties

Accessors

Methods

Constructors

Static constructor

  • Returns ErrorDialogElement

Events

onConfirmTapped

  • onConfirmTapped(): void
  • Dialog confirm button click

    Returns void

Properties

Protected dialog

dialog: PaperDialogElement

paper-dialog

Protected showConfirmButton

showConfirmButton: boolean = false

Display confirm button state

Accessors

Static template

  • get template(): HTMLTemplateElement
  • Returns HTMLTemplateElement

Methods

close

  • close(): void
  • Hide the dialog

    Returns 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(title: string, text: string): void
  • Show the dialog

    Parameters

    • title: string

      dialog title

    • text: string

      dialog message

    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