mirror of
				https://github.com/home-assistant/frontend.git
				synced 2025-11-03 16:09:54 +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" })
 | 
			
		||||
  public contentLoading = true;
 | 
			
		||||
 | 
			
		||||
  protected onLoadTransition(): void {
 | 
			
		||||
    // Trigger the transition when content is slotted
 | 
			
		||||
  protected override onLoadTransition(): void {
 | 
			
		||||
    // Use reflected property since we can't add class to base component's rendered elements
 | 
			
		||||
    this.startViewTransition(() => {
 | 
			
		||||
      this.contentLoading = false;
 | 
			
		||||
    });
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user