Skip to content

New scroll-by modifier #260

@ygongdev

Description

@ygongdev

Description
Adding a new scroll-by functional modifier that mimics the native scrollBy.

API
The arguments are chosen to closely mimc the API of the native scrollBy that supports an option dictionary. We will also introduce a boolean/promise to conditionally decide when to trigger the scrollBy.

Examples

<div {{scroll-by options=this.scrollOptions shouldScroll=this.shouldScroll}}></div>

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions