File tree Expand file tree Collapse file tree 1 file changed +11
-10
lines changed Expand file tree Collapse file tree 1 file changed +11
-10
lines changed Original file line number Diff line number Diff line change @@ -226,16 +226,17 @@ var state = {
226226```
227227## Slots
228228
229- +Sometimes you need to show custom content before the header for the calendar.
230- +For such cases you can use the named slot 'beforeCalendarHeader.
231- +An example would be to use bootstrap's ` input-group-prepend ` and ` input-group-append `
232- +to show some custom text:
233- +``` html
234- +<datepicker :bootstrap-styling =" true " >
235- + <div slot =" beforeCalendarHeader " class =" calender-header " >
236- + Choose a Date
237- + </div >
238- +</datepicker >
229+ Sometimes you need to show custom content before the header for the calendar.
230+ For such cases you can use the named slot 'beforeCalendarHeader.
231+ An example would be to use bootstrap's ` input-group-prepend ` and ` input-group-append `
232+ to show some custom text:
233+ ``` html
234+ <datepicker :bootstrap-styling =" true" >
235+ <div slot =" beforeCalendarHeader" class =" calender-header" >
236+ Choose a Date
237+ </div >
238+ </datepicker >
239+ ```
239240
240241## Translations
241242
You can’t perform that action at this time.
0 commit comments