主题
Event 继承自: Generic[EventControlType]
Base event payload passed to control event handlers.
属性
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
name | str | required | The event name. |
data | Optional[Any] | None | Optional event payload data. |
control | EventControlType | repr=False | The control that emitted the event. |
只读属性
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
page | 'Page' | — | Page that owns the event source control. |
target | int | — | Internal id of the control that emitted this event. |