
Product
Announcing Socket Fix 2.0
Socket Fix 2.0 brings targeted CVE remediation, smarter upgrade planning, and broader ecosystem support to help developers get to zero alerts.
@pascholda1/vue-accordion
Advanced tools
a simple slot based accordion with minimal styling and nesting support
a simple slot based accordion with minimal styling and nesting support.
npm i @pascholda1/vue-accordion
<template>
<vue-accordion>
<!-- Basic Usage -->
<vue-collapse title="Collapse 1">
CONTENT 1
</vue-collapse>
<!-- Basic Usage END-->
<!-- Custom Header Usage -->
<vue-collapse>
<template #header>
<strong>Collapse 2</strong>
</template>
CONTENT 2
</vue-collapse>
<!-- Custom Header Usage END -->
<!-- Custom Header Icon Usage -->
<vue-collapse>
<template #header>
<vue-collapse-header>
x <!-- ICON SLOT -->
</vue-collapse-header>
</template>
CONTENT 3
</vue-collapse>
<!-- Custom Header Icon Usage END -->
</vue-accordion>
</template>
<script>
import VueAccordion from '@pascholda1/vue-accordion/src/components/VueAccordion';
import VueCollapse from '@pascholda1/vue-accordion/src/components/VueCollapse';
import VueCollapseHeader from '@pascholda1/vue-accordion/src/components/VueCollapseHeader';
export default {
name: 'PsAccordionDemo',
components: {
VueAccordion,
VueCollapse,
VueCollapseHeader,
},
};
</script>
<style lang="scss">
@import "@pascholda1/vue-accordion/src/scss/vue_accordion_bundle";
</style>
FAQs
a simple slot based accordion with minimal styling and nesting support
We found that @pascholda1/vue-accordion 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.
Product
Socket Fix 2.0 brings targeted CVE remediation, smarter upgrade planning, and broader ecosystem support to help developers get to zero alerts.
Security News
Socket CEO Feross Aboukhadijeh joins Risky Business Weekly to unpack recent npm phishing attacks, their limited impact, and the risks if attackers get smarter.
Product
Socket’s new Tier 1 Reachability filters out up to 80% of irrelevant CVEs, so security teams can focus on the vulnerabilities that matter.