Skip to content

Suggestion for useful methodsΒ #26

@luruke

Description

@luruke

Hi there!
There could be some useful methods that could be implemented in my opinion:

.lock() and .unlock()
To temporary lock the scroll

.setPosition()
Set a scroll position without having the tweening

What about adding a simple event-system/dispatcher?
Could be useful to subscribe to events (scroll, resize...)

I was able to implement those thing easily, just extending the class.
Not sure but to me they look quite handful / generic, what do you think?

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