Security News
New Python Packaging Proposal Aims to Solve Phantom Dependency Problem with SBOMs
PEP 770 proposes adding SBOM support to Python packages to improve transparency and catch hidden non-Python dependencies that security tools oft miss.
aurelia-gridstack
Advanced tools
Aurelia wrapper for gridstack
npm i gridstack aurelia-gridstack aurelia-typed-observable-plugin tslib --save
// main.ts
export function configure(aurelia: Aurelia) {
aurelia.use.plugin(PLATFORM.moduleName("aurelia-gridstack"));
// the rest of your configuration...
}
<grid-stack min-row="5" float>
<grid-stack-item x="0" y="0" w="2" h="1">
<div class="item">Item1</div>
</grid-stack-item>
<grid-stack-item x="1" y="1" w="2" h="2">
<div class="item">Item2</div>
</grid-stack-item>
<grid-stack-item x="3" y="2" w="1" h="2">
<div class="item">Item3</div>
</grid-stack-item>
</grid-stack>
Or with bindings
<grid-stack min-row="5" float>
<grid-stack-item repeat.for="i of items" x.bind="i.x" y.bind="i.y" w.bind="i.w" h.bind="i.h">
<div class="item">
<div>Item ${$index + 1}</div>
<div>x: ${i.x}</div>
<div>y: ${i.y}</div>
<div>w: ${i.w}</div>
<div>h: ${i.h}</div>
</div>
</grid-stack-item>
</grid-stack>
items = [
{ x: 0, y: 0, w: 2, h: 1 },
{ x: 1, y: 1, w: 2, h: 2 },
{ x: 3, y: 2, w: 1, h: 2 }
];
You can lock a grid by setting static
on the grid-stack component:
<grid-stack static></grid-stack>
If you feel that something is missing please submit an issue or better yet a PR.
FAQs
Aurelia wrappers for gridstack
The npm package aurelia-gridstack receives a total of 6 weekly downloads. As such, aurelia-gridstack popularity was classified as not popular.
We found that aurelia-gridstack demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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
PEP 770 proposes adding SBOM support to Python packages to improve transparency and catch hidden non-Python dependencies that security tools oft miss.
Security News
Socket CEO Feross Aboukhadijeh discusses open source security challenges, including zero-day attacks and supply chain risks, on the Cyber Security Council podcast.
Security News
Research
Socket researchers uncover how threat actors weaponize Out-of-Band Application Security Testing (OAST) techniques across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.