Security News
CISA Brings KEV Data to GitHub
CISA's KEV data is now on GitHub, offering easier access, API integration, commit history tracking, and automated updates for security teams and researchers.
phosphor-stackedpanel
Advanced tools
A Phosphor layout panel where visible children are stacked atop one another.
A Phosphor layout panel where visible children are stacked atop one another.
Prerequisites
npm install --save phosphor-stackedpanel
Prerequisites
git clone https://github.com/phosphorjs/phosphor-stackedpanel.git
cd phosphor-stackedpanel
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 {
StackedPanel
} from 'phosphor-stackedpanel';
import {
Widget
} from 'phosphor-widget';
// Create some content for the panel.
let w1 = new Widget();
let w2 = new Widget();
let w3 = new Widget();
// Setup the stacked panel.
let panel = new StackedPanel();
panel.addChild(w1);
panel.addChild(w2);
panel.addChild(w3);
// Toggle the visible widgets as needed.
w1.hide();
w2.show();
w3.hide();
FAQs
A Phosphor layout panel where visible children are stacked atop one another.
We found that phosphor-stackedpanel 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
CISA's KEV data is now on GitHub, offering easier access, API integration, commit history tracking, and automated updates for security teams and researchers.
Security News
Opengrep forks Semgrep to preserve open source SAST in response to controversial licensing changes.
Security News
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.