# Inline Message (fw-inline-message)
fw-inline-message displays an alert on the user interface and enables displaying additional information to the context of the page.
# Demo
Show Code
# Usage
# Properties
Property | Attribute | Description | Type | Default |
---|---|---|---|---|
closable | closable | Makes the inline message closable. | boolean | true |
duration | duration | The duration in milliseconds for which inline message will be shown. | number | Infinity |
open | open | Indicates whether the inline message is open or not. | boolean | true |
type | type | The type of inline message to be displayed. Defaults to info. | "error" \| "info" \| "success" \| "warning" | 'info' |
# Events
Event | Description | Type |
---|---|---|
fwHide | Triggered when inline message is hidden. | CustomEvent<any> |
fwShow | Triggered when inline message is shown. | CustomEvent<any> |
# Methods
# hide() => Promise<void>
# Returns
Type: Promise<void>
# show() => Promise<void>
# Returns
Type: Promise<void>
# Dependencies
# Used by
# Depends on
# Graph
graph TD;
fw-inline-message --> fw-icon
fw-file-uploader-2 --> fw-inline-message
style fw-inline-message fill:#f9f,stroke:#333,stroke-width:4px
Built with ❤ at Freshworks