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 (:string) - html attribute id. Defaults to "".
id
:string
""
class (:string) - html attribute class. Defaults to "".
class
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