Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refresh component after lefttime update #22

Closed
jma-9code opened this issue Jun 5, 2018 · 5 comments
Closed

Refresh component after lefttime update #22

jma-9code opened this issue Jun 5, 2018 · 5 comments

Comments

@jma-9code
Copy link

Bug Report or Feature Request (mark with an x)


[ ] Bug report -> please search issues before submitting
[X ] Feature request
[ ] Documentation issue or request

Current behavior

Update config.lefttime, component not refreshed

Expected behavior

Update config.lefttime, component updated

Environment


Angular version: 6.0.0
ngx-countdown version: latest
Browser:
- [ X] Chrome (desktop) version XX
- [ ] Firefox version XX
- [ ] Safari (desktop) version XX
- [ ] IE version XX

Others:
@cipchk
Copy link
Owner

cipchk commented Jun 6, 2018

Yes.

A temporary solution changed time value via config parameter.

@jma-9code
Copy link
Author

If you change the config.lefttime parameter, you need to refresh the page to see the new value applied.

@cipchk
Copy link
Owner

cipchk commented Jun 6, 2018

Please try to reproduce via https://stackblitz.com/edit/ngx-countdown-setup, thanks!

@jma-9code
Copy link
Author

jma-9code commented Jun 6, 2018

@cipchk
Copy link
Owner

cipchk commented Jun 7, 2018

A working demo

@cipchk cipchk closed this as completed in f6925a9 Sep 29, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants