+12
-7
lines changedFilter options
+12
-7
lines changed Original file line number Diff line number Diff line change
@@ -2,7 +2,6 @@ import Vue from '../../utils/vue'
2
2
import { arrayIncludes } from '../../utils/array'
3
3
import { stripTags } from '../../utils/html'
4
4
import { getComponentConfig } from '../../utils/config'
5
-
import { HTMLElement } from '../../utils/safe-types'
6
5
import idMixin from '../../mixins/id'
7
6
import dropdownMixin from '../../mixins/dropdown'
8
7
import normalizeSlotMixin from '../../mixins/normalize-slot'
@@ -72,12 +71,6 @@ export const props = {
72
71
role: {
73
72
type: String,
74
73
default: 'menu'
75
-
},
76
-
boundary: {
77
-
// String: `scrollParent`, `window` or `viewport`
78
-
// HTMLElement: HTML Element reference
79
-
type: [String, HTMLElement],
80
-
default: 'scrollParent'
81
74
}
82
75
}
83
76
Original file line number Diff line number Diff line change
@@ -143,6 +143,11 @@
143
143
{
144
144
"prop": "noCaret",
145
145
"description": "Hide the caret indicator on the toggle button"
146
+
},
147
+
{
148
+
"prop": "boundary",
149
+
"version": "2.4.0",
150
+
"description": "The boundary constraint of the menu: 'scrollParent', 'window', 'viewport', or a reference to an HTMLElement. Has no effect when dropdown is inside a b-navbar"
146
151
}
147
152
],
148
153
"slots": [
Original file line number Diff line number Diff line change
@@ -4,6 +4,7 @@ import { BvEvent } from '../utils/bv-event.class'
4
4
import { closest, contains, isVisible, requestAF, selectAll } from '../utils/dom'
5
5
import { hasTouchSupport } from '../utils/env'
6
6
import { isNull } from '../utils/inspect'
7
+
import { HTMLElement } from '../utils/safe-types'
7
8
import { warn } from '../utils/warn'
8
9
import clickOutMixin from './click-out'
9
10
import focusInMixin from './focus-in'
@@ -108,6 +109,12 @@ export default {
108
109
popperOpts: {
109
110
// type: Object,
110
111
default: () => {}
112
+
},
113
+
boundary: {
114
+
// String: `scrollParent`, `window` or `viewport`
115
+
// HTMLElement: HTML Element reference
116
+
type: [String, HTMLElement],
117
+
default: 'scrollParent'
111
118
}
112
119
},
113
120
data() {
You can’t perform that action at this time.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4