--- source: Notification/InlineNotification.svelte --- ### Default (error) ### Prevent default close behavior `InlineNotification` is a controlled component. Prevent the default close behavior using the `e.preventDefault()` method in the dispatched `on:close` event.
Svelte version 3.48.0 or greater is required.
{ e.preventDefault(); // custom close logic (e.g., transitions) }} /> ### Slottable title, subtitle Error: An internal server error occurred. ### Hidden close button ### With actions Learn more ### Notification variants ### Low contrast