Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • Notices

Implements

Index

Constructors

  • new Notices(noticeContainerId: string, targetContainer: HTMLElement): Notices

Properties

noticeContainer: HTMLDivElement
noticeContainerBottomCenter: HTMLDivElement
noticeContainerBottomLeft: HTMLDivElement
noticeContainerBottomRight: HTMLDivElement
noticeContainerTopCenter: HTMLDivElement
noticeContainerTopLeft: HTMLDivElement
noticeContainerTopRight: HTMLDivElement
noticeTimers: Tween<any>[]
notices: HTMLDivElement[]
targetContainer: HTMLElement

Methods

  • addNoticeToContainer(position: NoticePosition, notice: HTMLDivElement): void
  • animationLoop(): void
  • createAreaContainer(noticeContainer: HTMLDivElement, position: NoticePosition): HTMLDivElement
  • createNoticeContainer(noticeContainerId: string): HTMLDivElement
  • createNoticeTimeout(noticeId: number, duration: number): { noticeTimeout: HTMLDivElement; noticeTimerId: number }
  • Parameters

    • noticeId: number
    • duration: number

    Returns { noticeTimeout: HTMLDivElement; noticeTimerId: number }

    • noticeTimeout: HTMLDivElement
    • noticeTimerId: number
  • dismissNotice(noticeId: number): void

Generated using TypeDoc