Angular directive

eventFromContent source

  • Attribute

Expression that is evaluated when an event is received from the content (PixliveJS). To dispatch an event from PixLiveJS use: device.dispatchEventInApp(eventName, eventParams);

event.eventName The name of the event event.eventParams The parameters of the event

Parameters
NameTypeDescription
PxlEventService service

PixLive SDK Event service

Example
<div pxl-context-enter="eventFromContent(eventName,eventParams)">
 ...
</div>