
Security News
npm Adopts OIDC for Trusted Publishing in CI/CD Workflows
npm now supports Trusted Publishing with OIDC, enabling secure package publishing directly from CI/CD workflows without relying on long-lived tokens.
vue-resize-pane
Advanced tools
Resizable split panes 可调整的分割布局插件
npm install vue-resize-pane --save
yarn add vue-resize-pane
import ResizePane from 'vue-resize-pane'
Vue.use(ResizePane)
import ResizePane from 'vue-resize-pane'
new Vue({
components: {
ResizePane
}
})
<ResizePane layout="row" first-min-size="300px" second-min-size="500px">
<div slot="first"></div>
<div slot="second"></div>
</ResizePane>
first和second为第一格和第二格slot的名称,插件可嵌套使用,嵌套时可以使用不同的布局方向
Property | Description | Type | Default |
---|---|---|---|
layout | row为横向排列,col为垂直排列 | String | row |
firstDefaultSize | 第一格的默认尺寸,可带css单位 | String | 50% |
firstMinSize | 第一格的最小尺寸,可带css单位 | String | 100px |
secondMinSize | 第二格的最小尺寸,可带css单位 | String | 100px |
lineColor | 中间线条的颜色值 | String | #999999 |
overflow | 格子的overflow样式 | String | hidden |
FAQs
Resizable split panes
The npm package vue-resize-pane receives a total of 0 weekly downloads. As such, vue-resize-pane popularity was classified as not popular.
We found that vue-resize-pane demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Security News
npm now supports Trusted Publishing with OIDC, enabling secure package publishing directly from CI/CD workflows without relying on long-lived tokens.
Research
/Security News
A RubyGems malware campaign used 60 malicious packages posing as automation tools to steal credentials from social media and marketing tool users.
Security News
The CNA Scorecard ranks CVE issuers by data completeness, revealing major gaps in patch info and software identifiers across thousands of vulnerabilities.