Works great but when update model I need to refresh. #8

Closed
opened 2017-07-06 13:14:35 +00:00 by carraroinfame · 3 comments
carraroinfame commented 2017-07-06 13:14:35 +00:00 (Migrated from github.com)

Hi,
the module works great but if I update model with a service the text doesn't fit.
I need a polish way to resize after update model.

I try with resize event but for some reason I can't use this.

Hi, the module works great but if I update model with a service the text doesn't fit. I need a polish way to resize after update model. I try with resize event but for some reason I can't use this.
martinduris commented 2017-07-25 18:35:35 +00:00 (Migrated from github.com)

Hi guys,
any update ? :-)

so far i can use something like:
setTimeout(function(){window.dispatchEvent(new Event('resize'));}, 1000);
but that is not very "nice".

thanks a lot !

Hi guys, any update ? :-) so far i can use something like: `setTimeout(function(){window.dispatchEvent(new Event('resize'));}, 1000);` but that is not very "nice". thanks a lot !
thisloke commented 2017-07-25 19:29:40 +00:00 (Migrated from github.com)

Hi! I'm really busy in these days, I'll promise I will fix it in September :)

If you or anyone have a solution, can submit a merge request.

Hi! I'm really busy in these days, I'll promise I will fix it in September :) If you or anyone have a solution, can submit a merge request.
martinduris commented 2017-08-02 14:29:49 +00:00 (Migrated from github.com)

Hi,
Please check this PR
https://github.com/lokenxo/ng2-fittext/pull/10
thanks

Hi, Please check this PR https://github.com/lokenxo/ng2-fittext/pull/10 thanks
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: loke/ng2-fittext#8
No description provided.