Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: removed reserved methods

AddEventListener

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

Syntax:

Code Block
languagejs
target.addEventListener(type, listener);
  • [string] type: Specifies the type of event to listen for
  • [function] listener: The object to be notified when the event (of the specified type) happens 


RemoveEventListener

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

Syntax:

Code Block
languagejs
target.removeEventListener(type, listener);
  • [string] type: Specifies the type of event to listen for
  • [function] listener: The object to be notified when the event (of the specified type)happens 

Reserved Methods:

The following methods are reserved for BrightSign use only:

checkPassword()

getDigestHash()

toJSON()