Angular directive
pxlContextExit source
- Attribute
Expression that is evaluated when a context is exited. Such an event happens when a context is linked with a beacon and you are getting away from the beacon, or when an image is linked with such a context and this image is not within the camera sight anymore.
The unique ID of the context is passed as a parameter.
Parameters
Name | Type | Description |
---|---|---|
PxlEventService | service |
PixLive SDK Event service |
Example
<div pxl-context-enter="contextExit(contextId)">
...
</div>