Constructor
new IndoorAtlas()
Constructs new instance. Takes no arguments.
Methods
addListener(eventName, listener) → {void}
Registers new event listener
Parameters:
Name | Type | Description |
---|---|---|
eventName |
EventName | |
listener |
function |
Returns:
- Type
- void
destroy() → {void}
Destroys instance. Unregisters all listeners automatically.
Returns:
- Type
- void
removeListener(eventName, listener) → {void}
Unregisters event listener
Parameters:
Name | Type | Description |
---|---|---|
eventName |
EventName | |
listener |
function |
Returns:
- Type
- void