Skip to content

vue
<div style="position: relative; width: 100%; height: 800px; display: flex;">
    <fv-NavigationPanel></fv-NavigationPanel>
</div>

vue
<div style="position: relative; width: 100%; height: 800px; display: flex;">
    <fv-NavigationPanel expandMode="flyout"></fv-NavigationPanel>
</div>

vue
<div style="position: relative; width: 100%; height: 800px; display: flex;">
    <fv-NavigationPanel mobileDisplay="100000000" flyoutDisplay="500"></fv-NavigationPanel>
</div>

  1. Standard
vue
<fv-NavigationPanel theme="dark"></fv-NavigationPanel>
  1. Flyout
vue
<fv-NavigationPanel expandMode="flyout" theme="dark"></fv-NavigationPanel>
  1. Mobile
vue
<fv-NavigationPanel mobileDisplay="100000000" flyoutDisplay="500" theme="dark"></fv-NavigationPanel>

Properties


PropertyTypeRequiredDefaultDescription
titlestringNo'NavigationPanel'See the NavigationPanel title option.
expandbooleanNotrueSee the NavigationPanel expand option.
expandModestringNo'relative'See the NavigationPanel expandMode option.
expandWidthnumberNo350See the NavigationPanel expandWidth option.
expandDisplaynumberNo1024See the NavigationPanel expandDisplay option.
compactWidthnumberNo50See the NavigationPanel compactWidth option.
flyoutDisplaynumberNo0See the NavigationPanel flyoutDisplay option.
fullSizeDisplaynumberNo800See the NavigationPanel fullSizeDisplay option.
mobileDisplaynumberNo0See the NavigationPanel mobileDisplay option.
showBackbooleanNotrueSee the NavigationPanel showBack option.
showSearchbooleanNotrueSee the NavigationPanel showSearch option.
settingTitlestringNo'Settings'See the NavigationPanel settingTitle option.
showSettingbooleanNotrueSee the NavigationPanel showSetting option.
backgroundstringNo''See the NavigationPanel background option.
themestringNo'global'Theme style. Supports global, light, dark, system, and custom.
showNavbooleanNotrueSee the NavigationPanel showNav option.
disabledbooleanNofalseSee the NavigationPanel disabled option.
langstringNo"global"See the NavigationPanel lang option.

Events


EventArgumentsDescription
setting-clickObjectSee the component setting-click option.
update:expandbooleanSee the component update:expand option.
expand-changebooleanSee the component expand-change option.
expand-click
backMouseEventSee the component back option.

Slots


  1. SearchBlock
javascript
<template v-slot:searchBlock></template>
  1. NavIcon
javascript
<template v-slot:navIcon>
    <i class="ms-Icon ms-Icon--GlobalNavButton icon"></i>
</template>
  1. BackIcon
javascript
<template v-slot:backIcon>
    <i class="ms-Icon ms-Icon--Back icon"></i>
</template>
  1. Title
javascript
<template v-slot:title="{ show }">
    <p v-show="show" class="name title">{{ title }}</p>
</template>
  1. Panel
javascript
<template v-slot:panel></template>
  1. Banner
javascript
<template v-slot:banner></template>

Appendix


vue
<fv-NavigationPanel v-model="items" ref="nav"></fv-NavigationPanel>
let setting = this.$refs.nav.setting;

MIT Licensed