one
obj.one(event, handler)
Adds a basic event listener that listens to an event once and only once.
Parameters
- event
{String}
:The name of the event to listen for.
- handler
{function}
:The handler that will be executed to handle the event.
Returns
{Object}
:
this