model to watch can be "any"
This commit is contained in:
parent
7aa80b161d
commit
ebdcc0c7d6
1 changed files with 1 additions and 1 deletions
|
|
@ -10,7 +10,7 @@ export class Ng2FittextDirective implements AfterViewInit, OnInit, OnChanges {
|
||||||
@Input('container') container: any;
|
@Input('container') container: any;
|
||||||
@Input('activateOnInputEvents') activateOnInputEvents: boolean;
|
@Input('activateOnInputEvents') activateOnInputEvents: boolean;
|
||||||
@Input('useMaxFontSize') useMaxFontSize: boolean;
|
@Input('useMaxFontSize') useMaxFontSize: boolean;
|
||||||
@Input('modelToWatch') modelToWatch: string;
|
@Input('modelToWatch') modelToWatch: any;
|
||||||
private maxFontSize: number = 1000;
|
private maxFontSize: number = 1000;
|
||||||
private fontSize: number = 0;
|
private fontSize: number = 0;
|
||||||
private speed: number = 1.05;
|
private speed: number = 1.05;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue