ComponentEvent
UI event emitted for a component interaction, enriched with document context. Provides variants for field-level and cell-level interactions.
Inheritors
Types
Link copied to clipboard
data class CellEvent<out E : ComponentEditor>(val source: E?, val page: Page, val rowIds: List<String>?, val schemaId: String? = null, val parentPath: String? = null, val id: String, val identifier: String, val fieldId: String = source?.id ?: "", val fieldIdentifier: String, val pageId: String = page.id, val fileId: String, val fieldPositionId: String, val target: String = Target.field_update) : ComponentEvent<E>
Table cell-level interaction carrying row/column and table context.
Link copied to clipboard
data class FieldEvent<out E : ComponentEditor>(val source: E, val page: Page, val id: String, val identifier: String, val fieldId: String = source.id, val fieldIdentifier: String = source.identifier, val pageId: String = page.id, val fileId: String, val fieldPositionId: String, val target: String = Target.field_update) : ComponentEvent<E>
Field-level interaction carrying editor and field context.