Breadcrumb-DEMO
Basic
vue
<fv-Breadcrumb modelValue="/creatorsn/vfluent/breadcrumb">
</fv-Breadcrumb>1
2
2
Breadcrumb-Editable
vue
<fv-Breadcrumb v-model="modelValue" :readOnly="false">
</fv-Breadcrumb>1
2
2
Breadcrumb-Custom Icon
- Char
vue
<fv-Breadcrumb
modelValue="/creatorsn/vfluent/breadcrumb"
:readOnly="false"
separator=">"
>
</fv-Breadcrumb>1
2
3
4
5
6
2
3
4
5
6
- Icon
vue
<fv-Breadcrumb
modelValue="/creatorsn/vfluent/breadcrumb"
:readOnly="false"
separator="ChevronRightMed"
>
</fv-Breadcrumb>1
2
3
4
5
6
2
3
4
5
6
Breadcrumb-Hide Root
vue
<fv-Breadcrumb
modelValue="/creatorsn/vfluent/breadcrumb"
:readOnly="false"
:showRoot="false"
>
</fv-Breadcrumb>1
2
3
4
5
6
2
3
4
5
6
Breadcrumb-Dark Theme
vue
<div style="padding: 8px; background: black;">
<fv-Breadcrumb modelValue="/creatorsn/vfluent/breadcrumb" theme="dark" :readOnly="false">
</fv-Breadcrumb>
</div>1
2
3
4
2
3
4
Breadcrumb-Dark Disabled
- Light
vue
<fv-Breadcrumb
modelValue="/creatorsn/vfluent/breadcrumb"
:readOnly="false"
disabled
>
</fv-Breadcrumb>1
2
3
4
5
6
2
3
4
5
6
- Dark
vue
<div style="padding: 8px; background: black;">
<fv-Breadcrumb modelValue="/creatorsn/vfluent/breadcrumb" theme="dark" :readOnly="false" disabled>
</fv-Breadcrumb>
</div>1
2
3
4
2
3
4
Properties
| Property | Type | Required | Default | Description |
|---|---|---|---|---|
| modelValue | string | No | '' | String path. |
| separator | string | No | '/' | Separator display, either text or an icon. |
| separatorChar | string | No | '/' | Character used to split the path. |
| showRoot | boolean | No | true | Whether to show the root icon. |
| rootIcon | string | No | 'FolderHorizontal' | Root icon. |
| readOnly | boolean | No | true | Whether the component is read-only. |
| borderColor | string | No | '' | |
| fontSize | string | No | '16px' | |
| disabled | boolean | No | false | |
| borderRadius | number | No | 6 | |
| theme | string | No | 'global' | Theme style. Supports global, light, dark, system, and custom. |
| debounceDelay | number | No | 300 | See the Breadcrumb debounceDelay option. |
| lang | string | No | "global" | See the Breadcrumb lang option. |
Events
| Event | Arguments | Description |
|---|---|---|
| input-change | string | See the component input-change option. |
| debounce-input | string | See the component debounce-input option. |
| root-click | object | See the component root-click option. |
| item-click | object | See the component item-click option. |
Slots
- root
vue
<template v-slot:root="x">
<i
class="fv-bc-separator-content ms-Icon"
:class="[`ms-Icon--${x.rootIcon}`]"
></i>
<i
class="fv-bc-separator-icon ms-Icon"
:class="[x.separatorIcon ? `ms-Icon--${x.separator}` : '']"
>{{ x.separatorIcon ? '' : x.separator }}</i
>
</template>1
2
3
4
5
6
7
8
9
10
11
2
3
4
5
6
7
8
9
10
11
- route-item
vue
<template v-slot:route-item="x">
<i class="ms-Icon" :class="[`ms-Icon--${x.icon}`]"></i>
</template>1
2
3
2
3