File tree Expand file tree Collapse file tree 1 file changed +18
-2
lines changed
src/components/NcBreadcrumb Expand file tree Collapse file tree 1 file changed +18
-2
lines changed Original file line number Diff line number Diff line change @@ -41,6 +41,7 @@ This component is meant to be used inside a Breadcrumbs component.
41
41
@dragleave =" dragLeave" >
42
42
<element :is =" tag"
43
43
v-if =" (title || icon) && !$slots.default"
44
+ :exact =" exact"
44
45
:to =" to"
45
46
:href =" href" >
46
47
<!-- @slot Slot for passing a material design icon. Precedes the icon and title prop. -->
@@ -89,42 +90,57 @@ export default {
89
90
type: String ,
90
91
required: true ,
91
92
},
93
+
92
94
/**
93
- * The router- link to prop [https://router.vuejs.org/api/#to](https://router.vuejs.org/api/#to)
94
- * If set, the breadcrumbs will be rendered by router-link.
95
+ * Route Location the link should navigate to when clicked on.
96
+ * @see https://v3. router.vuejs.org/api/#to
95
97
*/
96
98
to: {
97
99
type: [String , Object ],
98
100
default: undefined ,
99
101
},
102
+
103
+ /**
104
+ * Route Location the link should navigate to when clicked on.
105
+ * @see https://v3.router.vuejs.org/api/#exact
106
+ */
107
+ exact: {
108
+ type: Boolean ,
109
+ default: false ,
110
+ },
111
+
100
112
/**
101
113
* Set this prop if your app doesn't use vue-router, breadcrumbs will show as normal links.
102
114
*/
103
115
href: {
104
116
type: String ,
105
117
default: undefined ,
106
118
},
119
+
107
120
/**
108
121
* Set a css icon-class to show an icon instead of the title text.
109
122
*/
110
123
icon: {
111
124
type: String ,
112
125
default: ' ' ,
113
126
},
127
+
114
128
/**
115
129
* Disable dropping on this breadcrumb.
116
130
*/
117
131
disableDrop: {
118
132
type: Boolean ,
119
133
default: false ,
120
134
},
135
+
121
136
/**
122
137
* Force the actions to display in a three dot menu
123
138
*/
124
139
forceMenu: {
125
140
type: Boolean ,
126
141
default: false ,
127
142
},
143
+
128
144
/**
129
145
* Open state of the Actions menu
130
146
*/
You can’t perform that action at this time.
0 commit comments