Skip to content
This repository was archived by the owner on Apr 15, 2020. It is now read-only.

Add directives that can be used to control scrolling #12

@joelmukuthu

Description

@joelmukuthu

Add these directives:

  • scroll-up
  • scroll-down
  • scroll-top: a two-way bind to the scrollTop of the element
  • scroll-animation: with values: true, false or "animationDuration<number> animationEasing<string>" e.g. "400 swing". true would cause it to use the defaults: defaultSnapscrollSnapDuration and defaultSnapscrollScrollEasing

This would require some refactoring in the code to expose code that is in the snapscroll directive as services that can be shared by these directives.

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