I need the counter to begin when I scroll to this area in the page.
so I add the element an attribute mode=viewport as I saw in the api, but nothing happens.
How do I have to use this attribute? Do I have to add any import?
my example:
<app-counter [from]=0 [to]=100 [of]=100 [mode]="viewport">
I need the counter to begin when I scroll to this area in the page.
so I add the element an attribute mode=viewport as I saw in the api, but nothing happens.
How do I have to use this attribute? Do I have to add any import?
my example:
<app-counter [from]=0 [to]=100 [of]=100 [mode]="viewport">