主题
DismissibleUpdateEvent 继承自: Event['Dismissible']
Event payload emitted while a dismiss gesture is in progress.
属性
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
direction | DismissDirection | required | Direction of the current drag gesture. |
progress | float | required | Drag progress from 0.0 to 1.0 relative to dismissal threshold. |
reached | bool | required | Whether the dismiss threshold is currently reached. |
previous_reached | bool | required | Whether threshold was reached on the previous update event. |