Project

General

Profile

« Previous | Next » 

Revision 61412

Added by John Balasis almost 3 years ago

angular upgrade to v8 lts

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