Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Constructors

constructor

Properties

Protected adapter_

Accessors

Static cssClasses

  • get cssClasses(): object

Static defaultAdapter

Static numbers

  • get numbers(): object

Static strings

  • get strings(): object

Methods

close

  • close(reason?: string): void
  • Parameters

    • Default value reason: string = ""

      Why the snackbar was closed. Value will be passed to CLOSING_EVENT and CLOSED_EVENT via the event.detail.reason property. Standard values are REASON_ACTION and REASON_DISMISS, but custom client-specific values may also be used if desired.

    Returns void

destroy

  • destroy(): void

getCloseOnEscape

  • getCloseOnEscape(): boolean

getTimeoutMs

  • getTimeoutMs(): number

handleActionButtonClick

  • handleActionButtonClick(_evt: MouseEvent): void

handleActionIconClick

  • handleActionIconClick(_evt: MouseEvent): void

handleKeyDown

  • handleKeyDown(evt: KeyboardEvent): void

init

  • init(): void
  • Returns void

isOpen

  • isOpen(): boolean

open

  • open(): void

setCloseOnEscape

  • setCloseOnEscape(closeOnEscape: boolean): void

setTimeoutMs

  • setTimeoutMs(timeoutMs: number): void

Generated using TypeDoc