public static Navbar <THelper> SetPosition <THelper>(this Navbar <THelper> navbar, NavbarPosition position)
     where THelper : BootstrapHelper <THelper>
 {
     return(navbar.ToggleCss(position));
 }
示例#2
0
 public static ComponentBuilder <TConfig, Navbar> SetPosition <TConfig>(this ComponentBuilder <TConfig, Navbar> builder, NavbarPosition position)
     where TConfig : BootstrapConfig
 {
     builder.Component.ToggleCss(position);
     return(builder);
 }