Angular directive

pxlContextEnter source

  • Attribute

Expression that is evaluated when a context is entered. Such an event happens when a context is linked with a beacon and you are getting close to the beacon, or when an image is linked with such a context and this image has been recognized.

The unique ID of the context is passed as a parameter.

Parameters
NameTypeDescription
PxlEventService service

PixLive SDK Event service

Example
<div pxl-context-enter="contextEnter(contextId)">
 ...
</div>