
Product
Introducing Repository Access Permissions and Custom Roles
Socket now supports Custom Roles and Repository Access Permissions so organizations can control who can access specific repositories and actions.
vue-grid-accordion
Advanced tools
npm i vue-grid-accordion --save
// main.js
import VueGridAccordion from 'vue-grid-accordion';
Vue.use(VueGridAccordion);
// app.vue
<template>
<v-grid-accordion
:width="960"
:height="680"
:columns="5"
:gutter="6"
:images="imgs"
:duration="5000"/>
</template>
<script >
export default {
data() {
return {
imgs: [{
url: require('/path/to/images'),
text: 'Some thing text',
}, ... ]
};
},
}
</script>
| 参数 | 说明 | 类型 | 默认值 | 可选值 |
|---|---|---|---|---|
| width | 画布总宽 | number | 960 | |
| height | 画布总高 | number | 680 | |
| columns | 列数 | number | 5 | |
| gutter | 图片间隔 | number | 4 | |
| images | 图片地址以字符串方式组成,或者是对象,参考下表"Images参数" | array | ||
| duration | 动画播放时间间隔 | number | 5000 |
| 参数 | 说明 | 类型 | 默认值 | 可选值 |
|---|---|---|---|---|
| url | 图片地址 | string | ||
| text | 图片说明文字 | string |
FAQs
基于Vue的栅格手风琴效果
The npm package vue-grid-accordion receives a total of 8 weekly downloads. As such, vue-grid-accordion popularity was classified as not popular.
We found that vue-grid-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 now supports Custom Roles and Repository Access Permissions so organizations can control who can access specific repositories and actions.

Product
Socket MCP now lets AI assistants review org alerts, investigate threats using the Socket threat feed, and inspect package files in addition to dependency scoring.

Product
Socket Firewall blocks malicious VS Code and Open VSX extensions before install, protecting developers from compromised editor marketplaces.