Skip to main content

MenuBar API

Initialization

<script setup>
import { MenuBar } from "@svar-ui/vue-menu";

import { getOptions } from "./data";

const options = getOptions();
</script>

<template>
<MenuBar :options="options"></MenuBar>
</template>
  • Visit the Features Guide to learn more about the widget's functionality.
  • Explore the samples to visualize the available features.

Properties

cssOptional. Adds a custom style to the menu item
menuCssOptional. Adds a custom CSS class to the Menu
optionsOptional. Specifies a set of options for Menu Bar

Events

clickFires on clicking a menu bar item or outside the menu bar