
Security News
AGENTS.md Gains Traction as an Open Format for AI Coding Agents
AGENTS.md is a fast-growing open format giving AI coding agents a shared, predictable way to understand project setup, style, and workflows.
@geneontology/wc-light-modal
Advanced tools
This is a lightweight web component to display modals. It allows notably to include HTML content in the modal card. The modal can be triggered by 3 methods: open()
, close()
or toggle()
.
To start the component in a dev environment:
npm install
npm start
To build the component for production, run:
npm run build
To run the unit tests for the components, run:
npm test
<script src='https://unpkg.com/@geneontology/wc-light-modal/dist/wc-light-modal.js'></script>
in the head of your index.html<html>
<head>
<script src="https://unpkg.com/@geneontology/wc-light-modal/dist/wc-light-modal.js"/>
</head>
<body>
<wc-light-modal modal-title="Your Modal Title"
modal-content="Your Modal Content including HTML: <button>test button</button>"></wc-light-modal>
</body>
</html>
By assigning an id to the modal HTML element, one can also interact with is using the methods open()
, close()
and toggle()
.
npm install @geneontology/wc-light-modal --save
<script src='node_modules/@geneontology/wc-light-modal/dist/wc-light-modal.js'></script>
in the head of your index.htmlFAQs
Lightweight modal web component
The npm package @geneontology/wc-light-modal receives a total of 0 weekly downloads. As such, @geneontology/wc-light-modal popularity was classified as not popular.
We found that @geneontology/wc-light-modal demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 5 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
AGENTS.md is a fast-growing open format giving AI coding agents a shared, predictable way to understand project setup, style, and workflows.
Security News
/Research
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
Security News
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.