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

Dynamically set autostart using ng-attr #293

Open
samuelpetroline opened this issue Jan 13, 2017 · 1 comment
Open

Dynamically set autostart using ng-attr #293

samuelpetroline opened this issue Jan 13, 2017 · 1 comment

Comments

@samuelpetroline
Copy link

Is it possible to dynamically set "autostart" attribute using ng-attr?

For example:

<timer ng-attr-autostart="{{myVar.Status == 2 && 'true' || undefined}}" interval="1000">{{hhours}}:{{mminutes}}:{{sseconds}}</timer>

In my case, it won't autostart even when the evaluation is true. Is there anything else I should do?

@karthikn2510
Copy link

I am also faced this issue. Need solution.

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

2 participants