Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

AddEventListener

addEventListener() is a common BrightSign method that is used to used to listen for an eventan event.

Syntax:

Code Block
languagejs
target.addEventListener(type, listener callback);
  • [string] type: Add an event listener when this type of event occurs?
  • [function] listener: The event listener?
  • [object] callback:?


RemoveEventListener

removeEventListener()is a common BrightSign method that is used to remove an event listener.

Syntax:

Code Block
languagejs
target.removeEventListener(type, listener callback);
  • [string] type: Remove an event listener when this type of event occurs?
  • [function] listener: The event listener?
  • [object] callback:?


Reserved Methods:

The following methods are reserved for BrightSign use only:

checkPassword()

getDigestHash()

toJSON()