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

(zeroTrigger)="yourOwnFunction()" not working #11

Open
mmaneff opened this issue Dec 27, 2018 · 2 comments
Open

(zeroTrigger)="yourOwnFunction()" not working #11

mmaneff opened this issue Dec 27, 2018 · 2 comments

Comments

@mmaneff
Copy link

mmaneff commented Dec 27, 2018

Hi, I was watching the example of the following link and try to implement the trigger

https://stackblitz.com/edit/countdown-timer?file=app%2Fapp.module.ts

Add the line (zeroTrigger) = "checkStatus ()" and declare the checkStatus function inside the app.component.ts.

checkStatus () {
this.name = 'It is 0';
}

When the counter reaches 0 it does not execute the function, it does not show the message.

Could it be that I'm missing something?

@Akitha
Copy link

Akitha commented Jun 19, 2020

Still Not Working

@nanchao-p
Copy link

use ngx-countdown-timer v0.1.9
it work for me 😁

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants