<ellipse-data-cricket></ellipse-data-cricket>

HTML custom element

type="squads"

OTHER ATTRIBUTES :
[Note that provided HTML attribute values should be applied within string quotes]
Name customer-id
Description CricViz customer identifier.
Values alphanumeric string
Default empty
Required true

Name competition
Description CricViz competition identifier.
Values number
Default empty
Required true

Name team-ids
Description If applied, this has two effects. Firstly, the widget feed will only include squads for the specified CricViz team ids (assuming that squads exist). Secondly, the widget will show the team boxes in the team id order in which they are specified here. Use comma separation for more than one team id (eg. '12345,67890').
Values string
Default empty
Required false

Name class-ids
Description If applied, this has two effects. Firstly, the widget feed will only include squads for the specified CricViz class ids (assuming that squads exist). Secondly, the widget will show the team boxes in the class id order in which they are specified here. Use comma separation for more than one class id (eg. '1,3').
Values string
Default empty
Required false

Name squad-box-display
Description How the squad box should be displayed. Configure this to show the individual squad boxes in a detached layout, or in a terraced layout.
Values empty / 'detached' / 'terraced'
Default empty (i.e. same as 'detached')
Required false

Name squad-box-expand
Description Controls expand/collapse for the squad boxes. Applying one of the 'open-none', 'open-first', or 'open-all' options means that the individual squad boxes can be expanded/collapsed, with a different initial state for each of these three options. Note that not applying this attribute will cause the squad boxes to NOT be expandable or collapsable.
Values empty / 'open-none' / 'open-first' / 'open-all'
Default empty (i.e. squad boxes cannot be expanded or collapsed)
Required false

Name player-box-layout
Description How the player boxes should be displayed. Configure this to show the player boxes with the player images on the left, or with the player images above the player names.
Values empty / 'icon-left' / 'icon-above'
Default empty (i.e. same as 'icon-left')
Required false

Name include
Description Hosts widget specific features which can be turned on by inclusion in the value string.
Values comma-separated features to include from 'header', 'footer', 'player-images', 'player-role-filter', 'player-roles', 'captain-keeper-labels'.
Default empty
Required false
Example 'header,player-images,player-roles'. The widget will show the header, player images and player roles (but not the footer, player role filter (i.e. all/batter/bowler), or captain/keeper labels).

Name title
Description If a value is added this will override (and be shown as) the first part of the header/footer components.
Values string
Default empty
Required false

Name suffix
Description If a value is added this will override (and be shown as) the second part of the header/footer components.
Values string
Default empty
Required false

Name disabled
Description If applied, this attribute will disable the widget (both user interaction and network data requests (except analytics)).
Values This is a value-less attribute. Adding this attribute with any (or no value) will turn this feature on.
Default not present
Required false

Name disable-analytics
Description If applied, this attribute will disable internal tracking of key events, and hence not send any information to the internal analytics provider.
Values This is a value-less attribute. Adding this attribute with any (or no value) will turn this feature on.
Default not present
Required false