Project

General

Profile

« Previous | Next » 

Revision 61353

Merging angular-upgrade branch

View differences:

read-more.component.ts
22 22
    //@Input() text: string;
23 23
    //maximum height of the container
24 24
    @Input("maxHeight") maxHeight: number = 100;
25
    @ViewChild("readMoreDiv")
25
    @ViewChild("readMoreDiv", {static: true})
26 26
    readMoreDiv: ElementRef;
27 27
    //set these to false to get the height of the expended container
28 28
    public isCollapsed: boolean = false;

Also available in: Unified diff