1.2.0 • Published 3 years ago

@visual-framework/vf-details v1.2.0

Weekly downloads
220
License
Apache 2.0
Repository
-
Last release
3 years ago

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. After installing 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

1.2.0

3 years ago

1.1.1

3 years ago

1.1.0

4 years ago

1.0.0-alpha.1

4 years ago