+11
-0
lines changedFilter options
+11
-0
lines changed Original file line number Diff line number Diff line change
@@ -179,6 +179,11 @@ const propsMixin = {
179
179
type: String,
180
180
default: 'outline-secondary'
181
181
},
182
+
dateInfoFn: {
183
+
// Passed through to b-calendar
184
+
type: Function
185
+
// default: undefined
186
+
},
182
187
// Labels for buttons and keyboard shortcuts
183
188
// These pick BCalendar global config if no BFormDate global config
184
189
labelPrevDecade: {
@@ -306,6 +311,7 @@ export const BFormDatepicker = /*#__PURE__*/ Vue.extend({
306
311
dateDisabledFn: self.dateDisabledFn,
307
312
selectedVariant: self.selectedVariant,
308
313
todayVariant: self.todayVariant,
314
+
dateInfoFn: self.dateInfoFn,
309
315
hideHeader: self.hideHeader,
310
316
showDecadeNav: self.showDecadeNav,
311
317
labelPrevDecade: self.labelPrevDecade,
Original file line number Diff line number Diff line change
@@ -95,6 +95,11 @@
95
95
"prop": "dateDisabledFn",
96
96
"description": "Set to a function reference which returns `true` if the date is disabled, or `false` if the date should be enabled. See documentation for details"
97
97
},
98
+
{
99
+
"prop": "dateInfoFn",
100
+
"version": "2.12.0",
101
+
"description": "Set to a function reference which returns a class (string), or classes (array of strings) to apply to the date cell. See calendar documentation for details. Passed through to the child calendar component"
102
+
},
98
103
{
99
104
"prop": "hideHeader",
100
105
"description": "When `true`, visually hides the selected date header"
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