Streams participants Class
Displays participants of a given stream in a horizontal list. Each item in the list is presented with an avatar and also can have a contextual associated with it.
Constructor
Streams participants
(
-
options
Parameters:
-
options
ObjectProvide options for this tool
-
publisherId
StringThe id of the publisher
-
streamName
StringThe name of the stream
-
[invite]
Object optionalPass an object here to pass as fields to Streams/participants/invite template, otherwise the invite button doesn't appear.
-
[showSummary]
Boolean optionalWhether to show a summary
-
[showBlanks]
Boolean optionalWhether to show blank avatars in place of remaining spots
-
[max]
Number optionalThe number, if any, to show in the denominator of the summary
-
[maxShow=10]
Number optionalThe maximum number of participants to fetch for display
-
[filter]
Function optionalTakes (participant, element) and can modify them. If this function returns false, the element is not appended.
-
[onRefresh]
Q.Event optionalAn event that occurs when the tool is refreshed
-