![Maven Central Adds Sigstore Signature Validation](https://cdn.sanity.io/images/cgdhsj6q/production/7da3bc8a946cfb5df15d7fcf49767faedc72b483-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Maven Central Adds Sigstore Signature Validation
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.
phosphor-splitpanel
Advanced tools
A Phosphor layout panel which arranges its children into resizable sections.
A Phosphor layout panel which arranges its children into resizable sections.
Prerequisites
npm install --save phosphor-splitpanel
Prerequisites
git clone https://github.com/phosphorjs/phosphor-splitpanel.git
cd phosphor-splitpanel
npm install
Rebuild
npm run clean
npm run build
Follow the source build instructions first.
# run tests in Firefox
npm test
# run tests in Chrome
npm run test:chrome
# run tests in IE
npm run test:ie
Follow the source build instructions first.
npm run docs
Navigate to docs/index.html
.
Follow the source build instructions first.
npm run build:example
Navigate to example/index.html
.
The runtime versions which are currently known to work are listed below. Earlier versions may also work, but come with no guarantees.
Follow the package install instructions first.
npm install --save-dev browserify browserify-css
browserify myapp.js -o mybundle.js
Note: This module is fully compatible with Node/Babel/ES6/ES5. Simply omit the type declarations when using a language other than TypeScript.
import {
SplitPanel
} from 'phosphor-splitpanel';
import {
Widget
} from 'phosphor-widget';
// Create some content for the panel.
let w1 = new Widget();
let w2 = new Widget();
let w3 = new Widget();
// Set the widget stretch factors (optional).
SplitPanel.setStretch(w1, 0);
SplitPanel.setStretch(w2, 2);
SplitPanel.setStretch(w3, 1);
// Setup the split panel.
let panel = new SplitPanel();
panel.handleSize = 5;
panel.orientation = SplitPanel.Horizontal;
panel.addChild(w1);
panel.addChild(w2);
panel.addChild(w3);
// sometime later...
// Get the normalized relative widget sizes.
let sizes = panel.sizes();
// Set the relative widget sizes.
panel.setSizes([2, 4, 1]);
FAQs
A Phosphor layout panel which arranges its children into resizable sections.
The npm package phosphor-splitpanel receives a total of 0 weekly downloads. As such, phosphor-splitpanel popularity was classified as not popular.
We found that phosphor-splitpanel 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
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.
Security News
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
Research
Security News
Socket researchers uncovered a backdoored typosquat of BoltDB in the Go ecosystem, exploiting Go Module Proxy caching to persist undetected for years.