up readme

This commit is contained in:
Lorenzo Iovino 2017-03-14 17:40:01 +01:00
parent e664ffd5aa
commit 7b51b80e91

View file

@ -1,6 +1,6 @@
# ng2-fittext # ng2-fittext
An Angular2 directive written in pure typescript (and without jquery!), inspired from http://fittextjs.com/, for autoscale the font size of an element to fit an upper level container. An Angular2 directive written in pure typescript (and without jquery!), for autoscale the font size of an element to fit an upper level container.
How many times your font doesn't scale automatically to fit the size of the container? Always, if you don't say it to do that! How many times your font doesn't scale automatically to fit the size of the container? Always, if you don't say it to do that!
How you can say it? ng2-fittext! How you can say it? ng2-fittext!
@ -70,7 +70,8 @@ For sure is not a good implementation, maybe is not the best way to do it, but,
### Todos ### Todos
- Write tests - Write tests
- Find a better algorithm to find the font-size who fits better the container. - Resolve the problem with long word checking the overflowY
- Find a better algorithm to find the font-size who fits better the container
License License
---- ----