@creativebulma/bulma-collapsible

中文文档
1.0.4发布于 2019/05/20CommonJS近 30 天下载 8783

Make any Bulma element collapsible with ease

原始使用文档
文档目录8 节
  1. Prerequisites
  2. Get Started
  3. Live demo
  4. Documentation
  5. Tests
  6. About the project
  7. License
  8. Contributing

Introduction

Make any Bulma element collapsible with ease

This components as been developped as a Bulma extension and bring you the ability to easily Collapse/Exand any kind of element/component.
We designed it to be as generic as possible, that's why its Sass part is lighter than in its ancestor (Wikiki's bulma-accordion component). But don't worry you can still use it for accordion purpose - and even more.

npm npm


Prerequisites

This component extends Bulma CSS Framework and requires it to work.

Get Started

npm i -D @creativebulma/bulma-collapsible

Full installation steps can be found here: installation steps

Live demo

Live demo

Documentation

See documentation

Tests

This library uses Jest & Puppeteer for test purpose.

jest   jest

Jest is a testing framework maintained by Facebook that works great with Puppeteer, a library for controlling Headless Chrome which bring the ability to test UI.

$ npm run test

If you want to run tests using the amazing Majestic UI execute the following command from your terminal:

$ npx majestic

Caution: You have to run gulp to build project before running tests if you have modified sources (test process is working with headless browser so it uses compiled files).

About the project

BulmaCollapsible is © 2019 by CreativeBulma.

This project is based on the work done by Wikiki (who is part of our team).

If you enjoy this component, have a look at our CreativeBulma MarketPlace and discover Free and Premium Bulma components and Templates.

License

BulmaCollapsible is distributed under MIT license.

Contributing

Contribution are welcome!
When contributing to this repository, please first discuss the change you wish to make via issue, email, or any other method with the owners of this repository before making a change.

版本与发布记录

@creativebulma/bulma-collapsible 共发布 5 个版本,首次发布于 2019/05/02;过去 12 个月发布了 0 个版本。

版本发布日期距今
1.0.4latest2019/05/207 年前
1.0.32019/05/187 年前
1.0.22019/05/177 年前
1.0.12019/05/177 年前
1.0.02019/05/027 年前

关于 @creativebulma/bulma-collapsible 的常见问题

@creativebulma/bulma-collapsible 是什么?

Make any Bulma element collapsible with ease

如何安装 @creativebulma/bulma-collapsible?

在项目目录运行 npm install @creativebulma/bulma-collapsible,或使用 pnpm add / yarn add / bun add。

@creativebulma/bulma-collapsible 支持 TypeScript 吗?

该包的 package.json 没有声明类型入口。需要类型提示时,可以在 npm 上查找社区维护的 @types/creativebulma__bulma-collapsible 是否存在。

@creativebulma/bulma-collapsible 支持 ESM 还是 CommonJS?

以 CommonJS 形式发布,可以直接 require();在 ES Module 项目中也可以用 import 引入(Node.js 会把 module.exports 作为默认导出)。

@creativebulma/bulma-collapsible 可以商用吗?

@creativebulma/bulma-collapsible 使用 未声明 许可。package.json 没有声明许可证。没有许可证的代码默认保留全部权利,商用前请联系作者或查看仓库中的 LICENSE 文件。以上为概括,不构成法律意见,请以许可原文为准。

@creativebulma/bulma-collapsible 的下载量有多少?

根据 npm 官方下载统计,@creativebulma/bulma-collapsible 在 2026/10/11 – 2026/11/09 这 30 天内被下载 8,783 次,日均约 293 次。下载量会把 CI 构建、镜像同步和作为其他包依赖的安装一并计入,适合横向比较热度,不能直接等同于使用人数。

@creativebulma/bulma-collapsible 还在维护吗?

最新版本 1.0.4 发布于 2019/05/20(7 年前);至今共发布 5 个版本,其中过去 12 个月发布了 0 个;首次发布于 2019/05/02。发布频率只是参考信号:功能稳定的工具可能很少需要更新,建议结合源码仓库的 issue 和提交记录判断。