mirror of
https://github.com/akveo/ngx-admin.git
synced 2026-01-15 05:58:52 +01:00
chore(dept): update dependencies, angular to rc2
This commit is contained in:
parent
70f3dc8dbf
commit
2b7d7ef3e6
13 changed files with 50 additions and 69 deletions
|
|
@ -21,13 +21,13 @@ export class BaBackTop {
|
|||
|
||||
@HostListener('click')
|
||||
_onClick():boolean {
|
||||
$('html, body').animate({scrollTop:0}, {duration:this.moveSpeed});
|
||||
jQuery('html, body').animate({scrollTop:0}, {duration:this.moveSpeed});
|
||||
return false;
|
||||
}
|
||||
|
||||
@HostListener('window:scroll')
|
||||
_onWindowScroll():void {
|
||||
let el = this._selector.nativeElement;
|
||||
window.scrollY > this.position ? $(el).fadeIn(this.showSpeed) : $(el).fadeOut(this.showSpeed);
|
||||
window.scrollY > this.position ? jQuery(el).fadeIn(this.showSpeed) : jQuery(el).fadeOut(this.showSpeed);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@ export class BaFullCalendar {
|
|||
@ViewChild('baFullCalendar') private _selector:ElementRef;
|
||||
|
||||
ngAfterViewInit() {
|
||||
let calendar = $(this._selector.nativeElement).fullCalendar(this.baFullCalendarConfiguration);
|
||||
let calendar = jQuery(this._selector.nativeElement).fullCalendar(this.baFullCalendarConfiguration);
|
||||
this.onCalendarReady.emit(calendar);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -94,7 +94,7 @@ export class BaSidebar {
|
|||
}
|
||||
|
||||
public toggleSubMenu($event, item):boolean {
|
||||
var submenu = $($event.currentTarget).next();
|
||||
var submenu = jQuery($event.currentTarget).next();
|
||||
|
||||
if (this.isMenuCollapsed) {
|
||||
this.menuExpand();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue