This package has been deprecated

Author message:

Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

@axa-ch/accordeon

3.0.0 • Public • Published

Accordeon

An accordion UI element hides a text or other piece of information by default and can reveal them if requested by user gesture.

Properties

disabled

Boolean attribute disabled disables the accordeon (default: false). Users can not open or close the accordeon anymore. However, it is still possible to programmatically open the accordion by way of the open attribute.

open

Boolean attribute open opens the accordeon when set to a truthy value (default: false). This is a second way to open the accordeon besides clicking on it. This can be useful when you use the disabled attribute.

small

Boolean attribute small controls a smaller version of the accordeon (default: false).

title

String-valued title sets the title of the accordeon.

icon

String-valued icon sets the additional icon of the accordeon according to a valid <svg>...</svg> value. Leave unset if no icon is required.

Readme

Keywords

none

Package Sidebar

Install

npm i @axa-ch/accordeon

Weekly Downloads

0

Version

3.0.0

License

Copyright AXA AG

Unpacked Size

37.8 kB

Total Files

7

Last publish

Collaborators

  • gianlucaguarini
  • valentin-hasler
  • marek.laco
  • domirs
  • axa-ch-user
  • matthias.zuercher
  • selinagahlinger