-
Notifications
You must be signed in to change notification settings - Fork 8
PushTarget Component
Lance edited this page Jan 5, 2014
·
12 revisions
The pushTarget
component must be nested inside a container
component. Multiple pushTargets can be nested inside a single container
. Each pushTarget
represents a single clientside element and can subscribe to multiple topics.
When a message is broadcast, the pushTarget
will fire an event
which will usually return a block. The resultant markup will update the clientside element. Updates can append
or prepend
to the current contents of the client element or can replace
the content entirely.
Name | Type | Default | Required | Comments |
---|---|---|---|---|
topics | List | true | One or more topics to subscribe to | |
update | UpdateStrategy | replace | true |
replace , append or prepend
|
event | String | true | Serverside event to fire each time a message is broadcast on one of the topics
|
TODO