Options
All
  • Public
  • Public/Protected
  • All
Menu

An object representing a notification icon in the taskbar.

Hierarchy

  • NotifyIconInstance

Index

Properties

notifyEl

notifyEl: HTMLDivElement

The underlying HTML element for this icon.

params

Creation parameters.

Methods

destroy

  • destroy(): void
  • Destroys the notification icon.

    Returns void

hide

  • hide(): void
  • Hides this notification icon.

    Returns void

Optional onclick

  • onclick(e: { event: MouseEvent; type: "normal" | "context" }): void
  • Onclick event.

    Parameters

    • e: { event: MouseEvent; type: "normal" | "context" }
      • event: MouseEvent
      • type: "normal" | "context"

    Returns void

Optional ondblclick

  • ondblclick(e: { event: MouseEvent }): void
  • On double click event.

    Parameters

    • e: { event: MouseEvent }
      • event: MouseEvent

    Returns void

setIcon

  • setIcon(iconUrl: String): void
  • Sets the icon url.

    Parameters

    • iconUrl: String

      The icon URL to set it to.

    Returns void

show

  • show(): void
  • Shows this notification icon.

    Returns void

Generated using TypeDoc