Surface lazy load to the editor/README.

This commit is contained in:
Dermot Duffy committed 2021-10-26 13:32:06 -07:00
1 parent a2d58d59b9
commit 38af2f3d62
2 files changed
+8 -1

No files matched your search

+7
View File
@@ -263,6 +263,13 @@ export class FrigateCardEditor extends LitElement implements LovelaceCardEditor
@change=${this._valueChanged}
></ha-switch>
</ha-formfield>
<ha-formfield .label=${localize('editor.lazy_load')}>
<ha-switch
.checked=${this._config?.event_viewer?.lazy_load !== false}
.configValue=${'event_viewer.lazy_load'}
@change=${this._valueChanged}
></ha-switch>
</ha-formfield>
</div>`
: ''}
<div class="option" @click=${this._toggleOption} .option=${'appearance'}>