This package has been deprecated

Author message:

Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

@coffeekraken/scrollbar-webcomponent

1.0.0 • Public • Published

Coffeekraken scrollbar webcomponent

npm npm npm

Simple webcomponent that let you skin the scrollbar as you want. It use internally the nice simplebar library

Features

  • Easily customize a scrollbar element
  • Automatically transfert the paddings apply on the element to the corresponding inner container to avoid visual issues

Table of content

  1. Install
  2. Get Started
  3. SCSS API
  4. Javascript API
  5. Coffeekraken

Install

npm install @coffeekraken/scrollbar-webcomponent --save

Get Started

First, import the component into your javascript file like so:

import ScrollbarWebcomponent from '@coffeekraken/scrollbar-webcomponent'

Then simply use it inside your html like so:

<ck-scrollbar style="height:300px">
	<!-- any content here... -->
</ck-scrollbar>

Coffeekraken

We are a young collective of front-end creative developers with one goal in mind. Build tools to make every team working day life better. This is our first and only concern. All our tools are build around that purpose. All what we provide are some cool tools that you can use the way you want. These tools features cover a large scope of the front-end workflow (styleguide generation, colors/fonts management, etc...). You can use only the parts that you need and let the rest aside...

Coffeekraken

Package Sidebar

Install

npm i @coffeekraken/scrollbar-webcomponent

Weekly Downloads

0

Version

1.0.0

License

MIT

Unpacked Size

1.01 MB

Total Files

31

Last publish

Collaborators

  • olivierbossel