Loading src/mention/mention-list.component.ts +2 −2 Original line number Original line Diff line number Diff line Loading @@ -52,7 +52,7 @@ export class MentionListComponent implements OnInit { items = []; items = []; activeIndex: number = 0; activeIndex: number = 0; hidden: boolean = false; hidden: boolean = false; private blockCursorSize; private blockCursorSize: {height:number, width:number}; constructor(private element: ElementRef) {} constructor(private element: ElementRef) {} ngOnInit() { ngOnInit() { Loading Loading @@ -139,7 +139,7 @@ export class MentionListComponent implements OnInit { this.list.nativeElement.scrollTop = 0; this.list.nativeElement.scrollTop = 0; } } private getBlockCursorDimensions(nativeParentElement) { private getBlockCursorDimensions(nativeParentElement: HTMLInputElement) { if (this.blockCursorSize) { if (this.blockCursorSize) { return this.blockCursorSize; return this.blockCursorSize; } } Loading Loading
src/mention/mention-list.component.ts +2 −2 Original line number Original line Diff line number Diff line Loading @@ -52,7 +52,7 @@ export class MentionListComponent implements OnInit { items = []; items = []; activeIndex: number = 0; activeIndex: number = 0; hidden: boolean = false; hidden: boolean = false; private blockCursorSize; private blockCursorSize: {height:number, width:number}; constructor(private element: ElementRef) {} constructor(private element: ElementRef) {} ngOnInit() { ngOnInit() { Loading Loading @@ -139,7 +139,7 @@ export class MentionListComponent implements OnInit { this.list.nativeElement.scrollTop = 0; this.list.nativeElement.scrollTop = 0; } } private getBlockCursorDimensions(nativeParentElement) { private getBlockCursorDimensions(nativeParentElement: HTMLInputElement) { if (this.blockCursorSize) { if (this.blockCursorSize) { return this.blockCursorSize; return this.blockCursorSize; } } Loading