Skip to content

AlertClose ​

Overview ​

A close button for dismissing an alert. Renders a slotted button that emits a close event when clicked.

Theme entry: AlertClose

Props ​

NameTypeRequiredDefaultDescription
iconOverrideObjectnullA partial icon registry ({ [componentName]: { [iconName]: { component, props } } }) merged with inherited and default icon entries; scopes icon overrides to this component and its descendants.
themeOverrideObjectnullA partial ThemeObject keyed by component name, merged over this component's theme and provided to descendants.
classimport('vue').HTMLAttributes['class']undefinedAdditional CSS classes to apply to the root element.

Slots ​

default ​

Slot.

Events ​

NameDescription
closeEmitted when the close action is triggered.

Full event reference

Source ​

client/lib/feedback/alert/AlertClose.vue