How to use the overlayscrollbars.defaultOptions function in overlayscrollbars

To help you get started, we’ve selected a few overlayscrollbars examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github KingSora / OverlayScrollbars / packages / overlayscrollbars-vue / dist / overlayscrollbars-vue.esm.js View on Github external
install(vue, options) {
        if (options) {
            OverlayScrollbars.defaultOptions(options);
        }
        vue.component('overlay-scrollbars', OverlayScrollbarsComponent$1);
    }
};
github KingSora / OverlayScrollbars / packages / overlayscrollbars-vue / src / OverlayScrollbarsPlugin.ts View on Github external
install(vue: VueConstructor, options?: OverlayScrollbars.Options) {
        if (options) {
            OverlayScrollbars.defaultOptions(options);
        }

        vue.component('overlay-scrollbars', OverlayScrollbarsComponent);
    }
}

overlayscrollbars

A scrollbar plugin that hides native scrollbars, provides custom styleable overlay scrollbars and keeps the native functionality and feeling.

MIT
Latest version published 4 days ago

Package Health Score

85 / 100
Full package analysis