You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

vue-splitpane-fix

Package Overview
Dependencies
Maintainers
0
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vue-splitpane-fix

vue split-pane component

3.0.0
latest
Source
npmnpm
Version published
Weekly downloads
5
400%
Maintainers
0
Weekly downloads
 
Created
Source

vue-splitpane-fix

base on https://github.com/PanJiaChen/vue-split-pane/tree/master

features

  • use flex layout to replace float layout
  • add default-px and min-px

try on http://thinkerchan.github.io/vue-split-pane-fix/demo/index.html

How to use?

npm install vue-splitpane-fix

#import
import splitPane from 'vue-splitpane-fix'

# use as global component
Vue.component('split-pane', splitPane);

Options

PropertyDescriptiontypedefault
splitthe split typeString [horizontal,vertical]must choose one type
default-percentpaneL default-percentNumber50
min-percentpaneL max-min-percentNumber10
default-pxpaneL default-pxNumber0
min-pxpaneL min-pxNumber300

if you set default-px with a non-zero value, default-percent will not work

FAQs

Package last updated on 31 Oct 2024

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