Options
All
  • Public
  • Public/Protected
  • All
Menu

Index

Type aliases

ActionCallback

ActionCallback: (button: HTMLButtonElement, snackbar: Snackbar) => void

Type declaration

    • (button: HTMLButtonElement, snackbar: Snackbar): void
    • Parameters

      • button: HTMLButtonElement
      • snackbar: Snackbar

      Returns void

Message

Message: string | HTMLElement

Position

Position: "left" | "center" | "right"

Functions

createSnackbar

destroyAllSnackbars

  • destroyAllSnackbars(): Promise<void[]>
  • Returns Promise<void[]>

getAnimationEvent

  • getAnimationEvent(el: HTMLDivElement): string | undefined
  • Parameters

    • el: HTMLDivElement

    Returns string | undefined

Object literals

Let instanceStackStatus

instanceStackStatus: object

center

center: true = true

left

left: true = true

right

right: true = true

Let instances

instances: object

center

center: never[] = []

left

left: never[] = []

right

right: never[] = []

Const themes

themes: object

dark

dark: {}

Type declaration

light

light: object

actionColor

actionColor: string = "#008000"

backgroundColor

backgroundColor: string = "#fff"

textColor

textColor: string = "#000"

Legend

  • Constructor
  • Property
  • Method
  • Property
  • Private property

Generated using TypeDoc