Components

<ppw-alert>

A very simple tag to display an alert of type :

<ppw-alert>

A very simple tag to display an alert of type :

  • info
  • success
  • warning
  • error
  • deprecated
  • notimplemented
  • todo

msg prop

Lorem Ipsum

If msg is not provided, a default text will appear.

INFO
SUCCEESS
WARNING
ERROR
DEPRECATED
NOT IMPLEMENTED
TODO

type prop

Default is info.

info alert type
success alert type
warning alert type
error alert type
notimplemented alert type
deprecated alert type
todo alert type

prop icon

The icon is determined by the level prop. But you can overload it with the icon prop.

todo alert type

action prop

Set the text of the first action button. If not set, the button will not appear.

Click to refresh

action event

Triggered when the user click on the first button.

slot content

For a rich content place it inside the ppw-alert node.

INFO

You can place here a rich MDC content

TODO

TODO
  • prop actions (for multple actions)
  • prop dissmissible