@cpelements/cp-404
v0.1.8
Published
Cp 404 element for PatternFly Elements
Downloads
513
Readme
PatternFly Element | Cp 404 element
Display a common not found message across the customer portal
Usage
Describe how best to use this web component along with best practices.
<cp-404>
<!-- Default slot -->
<h2>This is cp-404</h2>
</cp-404>
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 404 (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.