AddEventListener
addEventListener()
is a common BrightSign method that is used to listen for an event.
Syntax:
Code Block | ||
---|---|---|
| ||
target.addEventListener(type, listener); |
[string] type:
Add an event listener when this type of event occurs?[function] listener:
The event listener?
RemoveEventListener
removeEventListener()
is a common BrightSign method that is used to remove an event listener.
Syntax:
Code Block | ||
---|---|---|
| ||
target.removeEventListener(type, listener); |
[string] type:
Remove an event listener when this type of event occurs?[function] listener:
The event listener?
Reserved Methods:
The following methods are reserved for BrightSign use only:
checkPassword()
getDigestHash()
toJSON()