logo polydile dile-components

DileSmoothScrollElement

This mixin implements the methods to scroll the content of a element with it's own scrolling section.

The methods included in it are:

Installation

npm install @dile/utils

Usage

import { DileSmoothScrollElement } from "@dile/utils/mixins/smooth-scroll";

class NewComponent  extends DileSmoothScrollElemen(LitElement) {

}