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