
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.
@pderas/vue2-foldable
Advanced tools
A vue.js component to allow a section to collapse and expand with an ainimation.
Vue foldable is built as a vue plugin. It can be initialized just as the Vue documentation states.
import Foldable from "@pderas/vue2-foldable";
Vue.use(Foldable, {
peekabooHeight: 0, // default
});
Vue foldable is easily created, and allows for a slot to be inserted.
<foldable :collapsed="false">
<div slot-scope>
</div>
</foldable>
Property | Required | Type | Default | Description |
---|---|---|---|---|
collapsed | true | Boolean | n/a | If the section is collapsed or not. |
height | false | Number | 0 | The height of foldable. |
minHeight | false | Number | 0 | The minimum height to show of the content. |
This project is covered under the MIT License. Feel free to use it wherever you like.
FAQs
A vue 2 component to show / hide content
We found that @pderas/vue2-foldable 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
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.