APIs

Show:

Library for the FlxNotificationElement web component.

Constructor

flexygo.ui.wc.FlxNotificationElement

() FlxNotificationElement

Returns:

FlxNotificationElement:

Methods

attributeChangedCallback

()

Fires when the attribute value of the element is changed.

connectedCallback

()

Fires when element is attached to DOM

disconnectedCallback

()

Fires when element is detached to DOM

goToNotice

()

Navigates to notify node specification

markAsRead

()

Marks a notification has been read

refreshBadge

()

Checks and refresh Notify Badge

updateBadge

(
  • pendingNotices
  • sound
)

Refereshes Notify Badge

Parameters:

  • pendingNotices Number
    • Number of pending notices
  • sound Boolean
    • Reproduces sound or not.

Properties

observedAttributes

Unknown

Monitor the list of observed attribute for changes.