How to use the vuescroll.isInstalled function in vuescroll

To help you get started, we’ve selected a few vuescroll 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 YvesCoding / vuescroll / test / unit / index.spec.js View on Github external
it("vuescroll should be installed", () => {
    Vue.use(vuescroll);

    // no sense, just to improve the code coverage
    vuescroll.install(Vue);

    expect(vuescroll.isInstalled).toBe(true);
  });
});
github YvesCoding / vuescroll / test / unit / index.spec.js View on Github external
it("vuescroll should not be installed", () => {
    expect(vuescroll.isInstalled).toBeUndefined();
  });

vuescroll

A powerful, customizable, multi-mode scrollbar plugin based on Vue.js

MIT
Latest version published 1 year ago

Package Health Score

57 / 100
Full package analysis

Popular vuescroll functions