Skip to main content

TrashHead

Function TrashHead 

Source
fn TrashHead(props: TrashHeadProps) -> impl IntoView
Expand description

标题行:保留期说明与「清空回收站」。回收站为空时不渲染操作区,故按「有无文章」切换两种结构。

§Required Props

  • settings: [RwSignal<Option<TrashSettings>>]
  • total: [RwSignal<i64>]
  • batch_busy: [RwSignal<bool>]
  • on_empty: impl Into<Callback<()>>