Emitted after the banner is closed
Emitted before closing the banner
Hides the banner if not already hidden. Returns true when the animation has completed.
Shows the banner if not already shown. Returns true when the animation has completed.
Toggles between shown/hidden state. Returns true when the animation has completed.
The
igc-bannercomponent displays important and concise message(s) for a user to address, that is specific to a page or feature.Slot
Slot
prefix - Renders additional content at the start of the message block.
Slot
actions - Renders any action elements.
Csspart
base - The base wrapper of the banner component.
Csspart
spacer - The inner wrapper that sets the space around the banner.
Csspart
message - The part that holds the text and the illustration.
Csspart
illustration - The part that holds the banner icon/illustration.
Csspart
content - The part that holds the banner text content.
Csspart
actions - The part that holds the banner action buttons.