Skip to main content

PickerItem

Function PickerItem 

Source
fn PickerItem(props: PickerItemProps) -> impl IntoView
Expand description

网格中的单个素材:单选点击即回填,多选点击切换勾选并显示勾选序号。

§Required Props

  • item: PickerAsset
  • selected: [RwSignal<Vec<AssetSelection>>]
  • multi: bool
  • on_pick: [Callback<Vec<AssetSelection>>]