Skip to main content

FrontendShell

Function FrontendShell 

Source
pub(crate) fn FrontendShell(props: FrontendShellProps) -> impl IntoView
Expand description

前台页面与图鉴样例共用的布局关系;路由内容由外层提供。

Props:

  • header / main_content / footer:三块内容
  • max_width:主区宽度类(可随路径变化)
  • min_height:最外层容器的最小高度类

§Required Props

§Optional Props

  • max_width: [impl Into<Signal<&'static str>>](Signal<&’static str>)
  • min_height: [&'static str]