mirror of
https://github.com/home-assistant/frontend.git
synced 2025-11-05 00:49:53 +00:00
Override method
This commit is contained in:
@@ -12,8 +12,8 @@ export class HaTopAppBarFixed extends ViewTransitionMixin(TopAppBarFixedBase) {
|
|||||||
@property({ type: Boolean, reflect: true, attribute: "content-loading" })
|
@property({ type: Boolean, reflect: true, attribute: "content-loading" })
|
||||||
public contentLoading = true;
|
public contentLoading = true;
|
||||||
|
|
||||||
protected onLoadTransition(): void {
|
protected override onLoadTransition(): void {
|
||||||
// Trigger the transition when content is slotted
|
// Use reflected property since we can't add class to base component's rendered elements
|
||||||
this.startViewTransition(() => {
|
this.startViewTransition(() => {
|
||||||
this.contentLoading = false;
|
this.contentLoading = false;
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user