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

HTML custom element

type="team-stats"

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 class-ids
Description If applied, this has two effects. Firstly, the widget feed will only include team stats for the specified CricViz class ids (assuming that team stats 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 skill
Description Controls which skill metrics are available within the widget. Note that not applying this attribute will cause the widget to allow the user to select between both batting and bowling skills. Also, if the 'metric' attribute (see below) is set (i.e. not empty), then it will take precedence over any value which is set for this attribute.
Values empty / 'batting' / 'bowling'
Default empty (i.e. both batting and bowling skills are available)
Required false

Name metric
Description Controls which metric is displayed within the widget. Note that not applying this attribute will cause the widget to allow the user to select between all available metrics. Also, if this value is set (i.e. not empty), then it will take precedence over any value which is set for the 'skill' attribute (see above).
Values empty / 'batting-team-scoring-rate' / 'batting-boundary-counter' / 'batting-highest-scores' / 'bowling-mode-of-dismissal' / 'bowling-pace-and-spin'
Default empty (i.e. all metrics are available)
Required false

Name display-mode
Description Controls how the widget is displayed. 'single' mode means that only a single metric is shown at a time within the widget. 'multi' mode means that all metrics for the selected skill are shown together within the widget in adjacent panels.
Values empty / 'single' / 'multi'
Default empty (i.e. same as 'single')
Required false

Name max-rank
Description The maximum number of the team rankings to show. If a number is applied, then note that there may be more items shown in the widget if there are a number of teams with tied values around the applied max-rank value. If not applied, all teams supplied by the data feed will be shown.
Values number
Default empty (i.e. all ranked teams available from the data will be shown)
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'.
Default empty
Required false
Example 'header'. The widget will show the header but not the footer.

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