1.0.0 • Published 2 years ago

@cpelements/cp-more-like-this v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

PatternFly Element | Cp more like this element

Usage

Describe how best to use this web component along with best practices.

<cp-more-like-this>
  <!-- Default slot -->
  <h2>This is cp-more-like-this</h2>
</cp-more-like-this>

Accessibility

Explain how this component meets accessibility standards.

Slots

  • namedSlot: Describe each available slot and best practices around what markup it can contain.

Attributes

  • attr: Describe each available attribute and what function is serves.

Events

Describe any events that are accessible external to the web component. There is no need to describe all the internal-only functions.

Dependencies

Describe any dependent elements or libraries here too.

Dev

`npm start`

Test

`npm run test`

Build

`npm run build`

Demo

From the PFElements root directory, run:

`npm run demo`

Code style

Cp more like this (and all PFElements) 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.