Skip to content

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

Description

@mmaneff

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions