AlertComponent

Properties

Link copied to clipboard
open override val id: String

Unique identifier for this UI component.

Link copied to clipboard
open override val isEnabled: Boolean

Whether this component is currently enabled.

Link copied to clipboard
open override val isVisible: Boolean

Whether this component is currently visible.

Link copied to clipboard

Functions

Link copied to clipboard
open override fun disable()

Disable this component.

Link copied to clipboard
open override fun dispose()

Dispose of this component and release resources.

Link copied to clipboard
open override fun enable()

Enable this component.

Link copied to clipboard

Gets the background color based on alert type

Link copied to clipboard
open fun handleDismiss()

Handles alert dismissal

Link copied to clipboard
open override fun hide()

Hide this component.

Link copied to clipboard

Composable extension for rendering AlertComponent in Jetpack Compose

Link copied to clipboard
open override fun show()

Show this component.

Link copied to clipboard
open fun startAutoHideTimer(scope: CoroutineScope)

Starts auto-hide timer