How to use the overlayscrollbars 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 / src / OverlayScrollbarsComponent.vue View on Github external
mounted() {
            (this as OverlayScrollbarsComponent)._osInstace = OverlayScrollbars(
                this.osTarget(),
                this.options || {},
                this.extensions
            );
        },
github KingSora / OverlayScrollbars / packages / overlayscrollbars-react / dist / overlayscrollbars-react.esm.js View on Github external
componentDidMount() {
        this._osInstance = OverlayScrollbars(this.osTarget(), this.props.options || {}, this.props.extensions);
    }
    componentWillUnmount() {
github KingSora / OverlayScrollbars / packages / overlayscrollbars-ngx / dist / overlayscrollbars-ngx.esm.js View on Github external
this.ngZone.runOutsideAngular((function () {
            _this._osInstance = OverlayScrollbars(_this.osTarget(), _this._options || {}, _this._extensions);
        }));
    };
github KingSora / OverlayScrollbars / packages / overlayscrollbars-react / example / src / index.tsx View on Github external
import 'overlayscrollbars/css/OverlayScrollbars.css';
import './index.css';
import React from 'react';
import ReactDOM from 'react-dom';
import App from './App';
import * as serviceWorker from './serviceWorker';
import OverlayScrollbars from 'overlayscrollbars';

ReactDOM.render(, document.getElementById('root'));
serviceWorker.unregister();

OverlayScrollbars(document.body, {
    nativeScrollbarsOverlaid: {
        initialize: false
    }
});
github KingSora / OverlayScrollbars / packages / overlayscrollbars-ngx / src / overlayscrollbars.component.ts View on Github external
this.ngZone.runOutsideAngular(() => {
            this._osInstance = OverlayScrollbars(this.osTarget(), this._options || {}, this._extensions);
        });
    }
github KingSora / OverlayScrollbars / packages / overlayscrollbars-react / src / OverlayScrollbarsComponent.tsx View on Github external
componentDidMount() {
        this._osInstance = OverlayScrollbars(this.osTarget(), this.props.options || {}, this.props.extensions);
    }
github KingSora / OverlayScrollbars / packages / overlayscrollbars-vue / dist / overlayscrollbars-vue.esm.js View on Github external
mounted() {
        this._osInstace = OverlayScrollbars(this.osTarget(), this.options || {}, this.extensions);
    },
    beforeDestroy() {

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