EventDispatcher

interface EventDispatcher

Dispatches UI/behavioral events to component editors by identifier. Implementations should resolve components by id/name and update their state.

Functions

Link copied to clipboard
abstract fun hide(component: String)

Hide a component by identifier.

Link copied to clipboard
abstract fun setHidden(component: String, reason: HiddenReason, value: Boolean)

Set hidden state with an explicit reason. Consumers may render reason-specific messaging or analytics.

Link copied to clipboard
abstract fun show(component: String)

Show a component by identifier.