Commit graph

36 commits

Author SHA1 Message Date
lorenzo
d8fafd9e94 Ref: changed file and folder organization 2020-03-12 21:43:21 +01:00
Giacomo Ferlaino
5ad7972500 ref: Formatted code using Prettier rules 2020-03-12 00:00:35 +01:00
Giacomo Ferlaino
fa1c78494b feat: Added Prettier code formatter to standardize code formatting 2020-03-11 23:51:35 +01:00
lorenzo
7f85344d26 Update version 1.2.10 2020-02-12 15:27:47 +01:00
lorenzo
b3f48bf31b Fix: publish script in package.json 2020-02-12 15:26:32 +01:00
lorenzo
b85b5f391b Feat: removed custom packaging script in favour of ng-packger; Feat: update with angular9 dependencies 2020-02-12 11:40:50 +01:00
Ljupco Petkovski
08fa52d88e Output new font size when it changes 2019-10-21 13:03:54 +02:00
David Stellini
83b31be76a Fix AOT issue
This library breaks when running the production build on Angular 8 using AOT, as per https://github.com/DesertFoxNV/ngx-autosize-input/blob/master/projects/ngx-autosize-input/src/lib/auto-size-input.directive.ts
This is the error: `Ng2FittextDirective, Expected 0 arguments, but got 1.`
This MR fixes this issue.
2019-10-10 16:19:47 +03:00
Lorenzo Iovino
2c1ecf394d Fix: added deprecated useMaxFontSize to prevent broken builds 2019-05-06 12:48:31 +02:00
Lorenzo Iovino
62746405ce Ref: clean code
Ref: update examples
2019-05-06 10:21:16 +02:00
Lorenzo Iovino
8a6fa82fde Ref: maxFontSize instead useMaxFontSize 2019-05-03 17:07:42 +02:00
Lorenzo Iovino
c1d07a1af1 Fix: Issues #14,#15,#19,#20. Ref: Deleted angular-librarian and added scripts in package.json to manage publishing; Version upgrade 2019-02-05 01:42:22 +01:00
Lorenzo Iovino
e625f9fd30 Added angular-librarian for manage library 2017-11-14 11:07:08 +01:00
Thierry Nischelwitzer
f10725757b refactor and bugfix if box is invisible to begin 2017-08-24 08:01:28 +02:00
Thierry Nischelwitzer
1eaf665692 Avoid rendering if box is not visible and avoid rerendering if not needed 2017-08-24 07:04:09 +02:00
Lorenzo Iovino
14a7091b53 Fixed ngAfterwViewChecked, now compute size with height instead width 2017-08-11 14:15:31 +02:00
Lorenzo Iovino
fc5e5e800f up 2017-08-11 12:19:31 +02:00
Lorenzo Iovino
1c87abbf2a Added resize on contentViewChanged hook 2017-08-11 12:17:03 +02:00
senty
f76196a816 minimal font size 2017-08-02 17:28:50 +02:00
senty
ebdcc0c7d6 model to watch can be "any" 2017-08-02 16:26:08 +02:00
senty
abba46a909 model to watch - when model change -> trigger change of test size 2017-08-02 16:17:28 +02:00
Lorenzo Iovino
ff9b79d956 Can't stop to commit fixes, need to sleep. Last fix and last version for today. 2017-06-19 11:54:44 +02:00
Lorenzo Iovino
5173c610e6 Missing condition for do work it in case of resize and not overflow 2017-06-19 11:49:51 +02:00
Lorenzo Iovino
85d3b3af89 Now max font size works also if container is resized 2017-06-19 11:42:53 +02:00
Lorenzo Iovino
129cb1251c Removed console.log, added possibility of choose if fit a specified container (old way) or the element parent 2017-06-19 11:24:41 +02:00
Thierry Nischelwitzer
d15bc1326e add maxfontsize
Add possibility to set maxfontsize from the element. if set to true, the
maxfontsize automaticaly set to the original font size of the element
2017-06-19 06:57:53 +02:00
Thierry Nischelwitzer
0d7652c618 remove container dependency
instead of container use direct parent element that we can use this
directive in variable template combination
2017-06-19 06:41:40 +02:00
Lorenzo Iovino
0edd7f854a quick fix resize height 2017-05-22 12:40:22 +02:00
Lorenzo Iovino
c308b800df up 2017-05-22 12:31:08 +02:00
Lorenzo Iovino
b366d366c8 up 2017-05-22 12:30:39 +02:00
Lorenzo Iovino
191ea5102d quick fix activateOnInputevent 2017-05-22 12:29:03 +02:00
Lorenzo Iovino
c76d6dbb1a Added rxjs in packege.json; Added activateOnInputEvents proprierty for listen the events in input element and resize when it occurs 2017-05-19 13:17:30 +02:00
Lorenzo Iovino
fa661c5060 Refactoring 2017-03-26 18:04:41 +02:00
Lorenzo Iovino
8d6dfd3cd0 Exposed as module 2017-03-16 23:03:48 +01:00
Lorenzo Iovino
9d15ae732f Resolved long word break fit 2017-03-14 18:33:01 +01:00
Lorenzo Iovino
abf9e20a50 first commit - the initial version of ng2-fittext, not best but good 2017-03-14 13:46:18 +01:00