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 listen for an 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:?


Methods That are Reserved for BrightSign Use Only:

checkPassword()

getDigestHash()

toJSON()