1.0.16 • Published 5 years ago

@nomensa/pfe-card v1.0.16

Weekly downloads
17
License
MIT
Repository
github
Last release
5 years ago

PFElements Card Element

Usage

<pfe-card>
  <h2 slot="header">RH Card</h2>
  This is the pfe-card body.
  <div slot="footer">Text in footer</div>
</pfe-card>

Slots

header

If this slot is used, we expect a heading level tag (h1, h2, h3, h4, h5, h6) to be used here.

Default slot (body)

Any content that is not designated for the header or footer slot, will go to this slot.

footer

Use this slot for anything that you want in the footer of the card.

Test

npm run test

Build

npm run build

Demo

From the PFElements root directory, run:

npm start

Code style

Card (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.

1.0.16

5 years ago

1.0.15

5 years ago

1.0.14

5 years ago

1.0.13

5 years ago

1.0.12

5 years ago

1.0.11

5 years ago

1.0.9

5 years ago

1.0.8

5 years ago

1.0.7

5 years ago

1.0.6

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago