mirror of
				https://github.com/richard-loafle/fuse-angular.git
				synced 2025-11-04 01:43:33 +00:00 
			
		
		
		
	small tweaks
This commit is contained in:
		
							parent
							
								
									6d20c1d62d
								
							
						
					
					
						commit
						d6d74cb998
					
				@ -1,6 +1,4 @@
 | 
			
		||||
import { sequence, trigger, stagger, animate, style, group, query, transition, keyframes, animateChild, state } from '@angular/animations';
 | 
			
		||||
 | 
			
		||||
// const query = (s, a, o = {optional: true}) => q(s, a, o);
 | 
			
		||||
import { sequence, trigger, animate, style, group, query, transition, animateChild, state } from '@angular/animations';
 | 
			
		||||
 | 
			
		||||
export class Animations
 | 
			
		||||
{
 | 
			
		||||
 | 
			
		||||
@ -21,7 +21,7 @@ export class FuseIfOnDomDirective implements AfterContentChecked
 | 
			
		||||
        {
 | 
			
		||||
            setTimeout(() => {
 | 
			
		||||
                this.viewContainer.createEmbeddedView(this.templateRef);
 | 
			
		||||
            }, 0);
 | 
			
		||||
            }, 350);
 | 
			
		||||
            this.isCreated = true;
 | 
			
		||||
        }
 | 
			
		||||
        else if ( this.isCreated && !document.body.contains(this.element.nativeElement) )
 | 
			
		||||
 | 
			
		||||
@ -35,12 +35,12 @@ export class FusePerfectScrollbarDirective implements OnInit, AfterViewInit, OnD
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    ngOnInit(): void
 | 
			
		||||
    ngOnInit()
 | 
			
		||||
    {
 | 
			
		||||
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    ngAfterViewInit(): void
 | 
			
		||||
    ngAfterViewInit()
 | 
			
		||||
    {
 | 
			
		||||
        if ( this.isMobile || this.isDisableCustomScrollbars )
 | 
			
		||||
        {
 | 
			
		||||
@ -55,7 +55,7 @@ export class FusePerfectScrollbarDirective implements OnInit, AfterViewInit, OnD
 | 
			
		||||
        });
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    ngOnDestroy(): void
 | 
			
		||||
    ngOnDestroy()
 | 
			
		||||
    {
 | 
			
		||||
        if ( !this.isInitialized )
 | 
			
		||||
        {
 | 
			
		||||
 | 
			
		||||
@ -72,11 +72,12 @@ export class FuseChatViewComponent implements OnInit, AfterViewInit
 | 
			
		||||
        speed = speed || 400;
 | 
			
		||||
        if ( this.directiveScroll )
 | 
			
		||||
        {
 | 
			
		||||
            this.directiveScroll.update();
 | 
			
		||||
 | 
			
		||||
            setTimeout(() => {
 | 
			
		||||
                this.directiveScroll.scrollToBottom(0, speed);
 | 
			
		||||
            });
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    reply(event)
 | 
			
		||||
 | 
			
		||||
@ -282,7 +282,6 @@
 | 
			
		||||
                                                        [xAxisLabel]="widget5.supporting.xAxisLabel"
 | 
			
		||||
                                                        [yAxisLabel]="widget5.supporting.yAxisLabel"
 | 
			
		||||
                                                        [curve]="widget5.supporting.curve">
 | 
			
		||||
                                                        >
 | 
			
		||||
                                                    </ngx-charts-area-chart>
 | 
			
		||||
                                                </div>
 | 
			
		||||
                                            </div>
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user