Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@giwisoft/wc-split

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@giwisoft/wc-split

Unopinionated utilities for resizeable split views

  • 0.0.2
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
6
decreased by-33.33%
Maintainers
1
Weekly downloads
 
Created
Source

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

Keywords

FAQs

Package last updated on 04 Feb 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc