Model to watch #10

Merged
martinduris merged 4 commits from master into master 2017-08-02 20:09:28 +00:00
Showing only changes of commit ebdcc0c7d6 - Show all commits

View file

@ -10,7 +10,7 @@ export class Ng2FittextDirective implements AfterViewInit, OnInit, OnChanges {
@Input('container') container: any;
@Input('activateOnInputEvents') activateOnInputEvents: boolean;
@Input('useMaxFontSize') useMaxFontSize: boolean;
@Input('modelToWatch') modelToWatch: string;
@Input('modelToWatch') modelToWatch: any;
private maxFontSize: number = 1000;
private fontSize: number = 0;
private speed: number = 1.05;