Initial lazy loading support for carousel.

This commit is contained in:
Dermot Duffy
2021-10-26 11:07:21 -07:00
parent 30adb637a8
commit 8d7e5e9b2e
3 changed files with 102 additions and 16 deletions
+1
View File
@@ -729,6 +729,7 @@ export class FrigateCard extends LitElement {
.nextPreviousControlStyle=${this.config.controls?.nextprev ?? 'thumbnails'}
.autoplayClip=${this.config.autoplay_clip}
.resolvedMediaCache=${this._resolvedMediaCache}
.lazyLoad=${this.config.event_viewer?.lazy_load ?? true}
class="${classMap(viewerClasses)}"
@frigate-card:change-view=${this._changeViewHandler}
@frigate-card:media-load=${this._mediaLoadHandler}