Skip to content

Latest commit

 

History

History
69 lines (39 loc) · 3.13 KB

README.md

File metadata and controls

69 lines (39 loc) · 3.13 KB

-----------------------------------------------------

➤ wl-banner

Display a non-interruptive message and related optional actions.

-----------------------------------------------------

➤ Properties

Property Attribute Type Default Description
role role AriaRole "banner" Role of the banner.

-----------------------------------------------------

➤ CSS Custom Properties

Property Description
--banner-bg Background
--banner-color Color
--banner-content-padding Padding of the content slot
--banner-icon-color Color of the icon
--banner-icon-margin Margin of the icon slot
--banner-padding Padding

-----------------------------------------------------

➤ Slots

Name Description
Default content.
action Action content (you can have multiple slots named action).
icon Icon content.

-----------------------------------------------------

➤ Usage

Go here to try the demo.

-----------------------------------------------------

➤ Contributors

Andreas Mehlsen You?
Andreas Mehlsen You?

-----------------------------------------------------

➤ License

Licensed under MIT.