Search
Render left menu.
Generates left menu
example
<.wc_left_menu active="left_menu" menus={[{"Components", [{"actionbar", "Actionbar", "/storybook/components/actionbar"}, {"card", "Card", "/storybook/components/card"}, {"left_menu", "Left Menu", "/storybook/components/left_menu"}, {"markdown", "Markdown", "/storybook/components/markdown"}, {"pagination", "Pagination", "/storybook/components/pagination"}, {"table", "Table", "/storybook/components/table"}]}]}> <:title>Menu Demo Components</:title> </.wc_left_menu>
attributes
id (:any) - html attribute id. Defaults to false.
id
:any
false
class (:string) - html attribute class. Defaults to "".
class
:string
""
active (:string) - actvie menu id. Defaults to "".
active
menus (:list) - menu list
menus
:list
[ {"Components", [ {"actionbar", "Actionbar", "/storybook/components/actionbar"}, {"card", "Card", "/storybook/components/card"}, {"left_menu", "Left Menu", "/storybook/components/left_menu"}, {"markdown", "Markdown", "/storybook/components/markdown"}, {"pagination", "Pagination", "/storybook/components/pagination"}, {"table", "Table", "/storybook/components/table"} ] } ]
Defaults to [].
[]
slots
title