New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

solid-split

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

solid-split

Solid component for Split.js

latest
Source
npmnpm
Version
0.0.3
Version published
Weekly downloads
4
Maintainers
1
Weekly downloads
 
Created
Source

Solid Split

Draggable split element for Solid.

Inspired by React Split and Split.js. Unlike React Split, Solid Split is not a wrapper around a vanilla js library. This has been built from the ground up complete with its own original set of brand new bugs and issues. Use at your own risk.

Installation

Using the package from npm.

npm install solid-split

Usage

import Split from "solid-split"

const SplitComponent = () =>
    <Split>
        <div>Element 1</div>
        <div>Element 2</div>
        <div>Element 3</div>
    </Split>

API

OptionTypeDefaultValue
gutterSizeint4 (px)The size of the gutter between elements.
verticalboolfalseOption to display elements vertically (as a column).

Support

Should support all modern browsers and handle both click and touch events. Note that, with touch events, you will probably have a better experience with wider gutters.

FAQs

Package last updated on 02 Jul 2021

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