Skip to main content

AdminPageHeadSkeleton

Function AdminPageHeadSkeleton 

Source
pub fn AdminPageHeadSkeleton(props: AdminPageHeadSkeletonProps) -> impl IntoView
Expand description

后台页面标题行骨架,结构与 admin_layout::AdminPageHead 一致。 title_width / subtitle_width 只传宽度类(如 "w-20"、"w-96 max-w-full")。 actions 是右侧操作区占位,传闭包:actions=|| view! { <SkeletonBox class="h-[34px] w-24 rounded-lg"/> }。

§Required Props

  • title_width: [&'static str]
  • subtitle_width: [&'static str]

§Optional Props