Skip to content

viewport mode #1

Description

@developer504

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">

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