
Security News
Frontier AI Is Now Critical Infrastructure
The Fable shutdown shows how quickly model access can become a business continuity risk for AI-dependent engineering teams.
@jinntec/jinn-window
Advanced tools
Jinn-window wraps jsPanel into a webcomponent.
Kudos to the jsPanel team for providing such a great window component.
npm i jinn-window
<script type="module">
import 'jinn-window/jinn-window.js';
</script>
<jinn-window name="foo"></jinn-window>
jinn-window attributes| Attribute | Description | Default |
|---|---|---|
| name | set the name of the window | - |
| title | set the title of the window | - |
| open | opens the window on page load. Marker attribute | - |
| position | optional position of window. see below | center |
| snap | snaps window to corners or centers of each border | true |
| headercontrols | a list icon names to show on toolbar for resizing the window | minimize, smallify, close |
| size | space-separated width + height e.g. '100 50' | auto (fit content) |
Allows to position a window initially. One of the following values is allowed:
One of:
| Param | Description |
|---|---|
| name | the name of the window just being opened |
| title | the title of the window just being opened |
<jinn-window name="42"></jinn-window>
<button id="openLeft">Open Left</button>
<script type="text/javascript">
const openButton = document.getElementById("openLeft");
const win = document.querySelector("jinn-window[name='42']");
openButton.addEventListener("click", (e) => {
win.open();
});
win.addEventListener("window-opened", (e) => {
console.log("window-opened", e.detail)
});
</script>
<jinn-window name="5" open position="center" size="150 50" title="center"><div class="center-box">center</div></jinn-window>
To execute a single test run:
npm run test
To run the tests in interactive watch mode run:
npm run test:watch
For most of the tools, the configuration is in the package.json to minimize the amount of files in your project.
If you customize the configuration a lot, you can consider moving them to individual files.
web-dev-servernpm start
To run a local development server that serves the basic demo located in demo/index.html
np --branch main --no-release-draft --no-tests --no-2fa
git status must be clean.
FAQs
Webcomponent jinn-window following open-wc recommendations
We found that @jinntec/jinn-window demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 open source maintainers 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
The Fable shutdown shows how quickly model access can become a business continuity risk for AI-dependent engineering teams.

Security News
AI agents are pulling packages into environments no scanner is watching, creating exposure before security teams can see it.

Security News
GitHub Actions checkout now blocks risky pull_request_target checkouts by default to help prevent pwn request supply chain attacks.