@rhelements/cp-accordion-heading

0.0.15 • Public • Published

RHElements Accordion Heading Element

Greenkeeper badge

Build Status

Dependencies

Make sure you have Polyserve and Web Component Tester installed.

npm install -g polyserve web-component-tester

Dev

npm start

Test

npm run test

Build

npm run build

Demo

Run npm start and the Polymer CLI will start a server and open your default browser to the demo page of the element.

Properties

expanded

Boolean value

Events

cp-accordion-change (fires)

This event is fired when the cp-accordion-heading element is clicked.

this.dispatchEvent(
  new CustomEvent('cp-accordion-change', {
    detail: { expanded: this.expanded },
    bubbles: true
  })
);

Code style

Accordion (and all RHElements) use Prettier to auto-format JS and JSON. The style rules get applied when you commit a change. If you choose to, you can integrate your editor with Prettier to have the style rules applied on every save.

Readme

Keywords

none

Package Sidebar

Install

npm i @rhelements/cp-accordion-heading

Weekly Downloads

10

Version

0.0.15

License

ISC

Unpacked Size

22.9 kB

Total Files

15

Last publish

Collaborators

  • kylebuch8
  • markcaron
  • mwcz