Fix: added deprecated useMaxFontSize to prevent broken builds
This commit is contained in:
parent
ca1576015d
commit
423ee0c237
8 changed files with 245 additions and 139 deletions
|
|
@ -20,6 +20,10 @@ export class Ng2FittextDirective implements AfterViewInit, OnInit, OnChanges, Af
|
|||
@Input('activateOnInputEvents') activateOnInputEvents: boolean;
|
||||
@Input('minFontSize') minFontSize = 7;
|
||||
@Input('maxFontSize') maxFontSize = 1000;
|
||||
|
||||
/* Deprecated */
|
||||
@Input('useMaxFontSize') useMaxFontSize = true;
|
||||
|
||||
@Input('modelToWatch') modelToWatch: any;
|
||||
private fontSize = 1000;
|
||||
private speed = 1.05;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue