Add a filled button to the top bar.
topbar:filled_button(STRING $name="", STRING $icon_name="", STRING $href="", STRING $radius="normal", STRING $icon_type="filled", BOOL $stacked=FALSE, BOOL $stacked_on_mobile=FALSE, BOOL $stacked_on_tablet=FALSE, BOOL $disabled=FALSE, ARRAY $attributes=[ ], BOOL $display_on_mobile=TRUE, BOOL $display_on_tablet=TRUE, BOOL $display_on_laptop=TRUE, BOOL $display_on_desktop=TRUE, STRING $size="medium")
topbar:filled_button('Home', "home", "/index")
topbar:filled_button()
#=> [
#=> [
#=> "name" => "Home",
#=> "href" => "home",
#=> "icon_name" => "/index",
#=> "notification" => "",
#=> "class" => "",
#=> "style" => "",
#=> "children" => [],
#=> "group" => NULL,
#=> "created_at" => "0.13743600 1614010386"
#=> ]
#=> ]
Copyright ©2013-2022 SunSed®. All rights reserved.