1.0.9 • Published 3 years ago

@giwisoft/wc-split v1.0.9

Weekly downloads
15
License
Apache-2.0
Repository
github
Last release
3 years ago

Web component wc-split

Unopinionated utilities for resizeable split views (also called panes or frames). It handles weird edge cases so you don't have to. Split.js is CSS-driven, only using JS to recalculate CSS styles on drag. Split.js does not attach any window event listeners, instead relying on CSS for the layout when the window size changes. This keeps the JS overhead extremely low.

Embed Split.js in a Web Component.

Using this component

Script tag

  • Put a script tag similar to this <script src='https://unpkg.com/@giwisoft/wc-split@0.0.1/dist/wc-split.js'></script> in the head of your index.html
  • Then you can use the element anywhere in your template, JSX, html etc

Node Modules

  • Run npm install @giwisoft/wc-split --save
  • Put a script tag similar to this <script src='node_modules/@giwisoft/wc-split/dist/wc-split.js'></script> in the head of your index.html
  • Then you can use the element anywhere in your template, JSX, html etc

Contribute

yarn install
yarn dev

To build the component for production, run:

yarn build

To run the unit tests for the components, run:

yarn test

Integrations

See here

1.0.9

3 years ago

1.0.8

3 years ago

1.0.7

3 years ago

1.0.6

4 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago

0.0.7

5 years ago

0.0.6

5 years ago

0.0.5

5 years ago

0.0.4

5 years ago

0.0.3

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago