Skip to content

Latest commit

 

History

History
30 lines (20 loc) · 1.2 KB

media-loading-indicator.md

File metadata and controls

30 lines (20 loc) · 1.2 KB

<media-loading-indicator/>

Shows a loading indicator when the media is buffering.

Attributes

Name Type Default Value Description
loading-delay number 500 The amount of time in ms the media has to be buffering before the loading indicator is shown.

Slots

Name Default Type Description
loading svg The element shown for when the media is in a buffering state.

Example

<media-loading-indicator>
  <svg slot="loading"><!-- your SVG --></svg>
</media-loading-indicator>

Styling

See our styling docs