@visual-framework/vf-details

1.2.0 • Public • Published

Details component

npm version

About

Use this interactive accordion-link component in places where information is optional.

Usage

  • This component makes use of the HTML details element.
  • To toggle the default state, the open attribute: <details class="vf-details" open>.

Install

This repository is distributed with [npm][https://www.npmjs.com/]. After [installing npm][https://www.npmjs.com/get-npm] and yarn, you can install vf-details with this command.

$ yarn add --dev @visual-framework/vf-details

JS

This component does not use JS.

Sass/CSS

The source files included are written in Sass(scss). You can point your Sass include-path at your node_modules directory and import it like this.

@import "@visual-framework/vf-details/index.scss";

Make sure you import Sass requirements along with the modules. You can use a project boilerplate or the vf-sass-starter

Help

Readme

Keywords

Package Sidebar

Install

npm i @visual-framework/vf-details

Weekly Downloads

187

Version

1.2.0

License

Apache 2.0

Unpacked Size

25.2 kB

Total Files

13

Last publish

Collaborators

  • bhushan-ebi
  • pacope92
  • ebiwebdev
  • sandykadam
  • khawkins98