<script lang="ts"> import { MenuBar } from '@geoffcox/sterling-svelte'; </script> <MenuBar> <!-- <MenuItem> ... --> </MenuBar>
Property Name | Type | Default | Comment | |
---|---|---|---|---|
onClose | (value: string) => void | Raised when a descendant menu is closed. | ||
onOpen | (value: string) => void | Raised when a descendant menu is opened. | ||
onSelect | (value: string) => void | Raised when descendant menu item is selected. |
<div class="sterling-menu-bar"> {@render children()} </div>