Skip to content

Commit 4f236ee

Browse files
committed
docs: update content
1 parent af8e435 commit 4f236ee

File tree

4 files changed

+18
-3
lines changed

4 files changed

+18
-3
lines changed

docs/content/forms/date-picker.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -250,6 +250,10 @@ const datePickerList = datePickerElementList.map(datePickerEl => {
250250
| Method | Description |
251251
| --- | --- |
252252
| `dateChange.coreui.date-picker` | Callback fired when the date changed. |
253+
| `show.coreui.date-picker` | Fires immediately when the show instance method is called. |
254+
| `shown.coreui.date-picker` | Fired when the calendar has been made visible to the user and CSS transitions have completed. |
255+
| `hide.coreui.date-picker` | Fires immediately when the hide instance method has been called. |
256+
| `hidden.coreui.date-picker` | Fired when the calendar has finished being hidden from the user and CSS transitions have completed. |
253257
{{< /bs-table >}}
254258

255259
```js

docs/content/forms/date-range-picker.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -296,6 +296,10 @@ const dateRangePickerList = dateRangePickerElementList.map(dateRangePickerEl =>
296296
| --- | --- |
297297
| `endDateChange.coreui.date-range-picker` | Callback fired when the end date changed. |
298298
| `startDateChange.coreui.date-range-picker` | Callback fired when the start date changed. |
299+
| `show.coreui.date-range-picker` | Fires immediately when the show instance method is called. |
300+
| `shown.coreui.date-range-picker` | Fired when the calendar has been made visible to the user and CSS transitions have completed. |
301+
| `hide.coreui.date-range-picker` | Fires immediately when the hide instance method has been called. |
302+
| `hidden.coreui.date-range-picker` | Fired when the calendar has finished being hidden from the user and CSS transitions have completed. |
299303
{{< /bs-table >}}
300304

301305
```js

docs/content/forms/time-picker.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -199,6 +199,10 @@ const timePickerList = timePickerElementList.map(timePickerEl => {
199199
| Method | Description |
200200
| --- | --- |
201201
| `timeChange.coreui.time-picker` | Callback fired when the value changed. |
202+
| `show.coreui.time-picker` | Fires immediately when the show instance method is called. |
203+
| `shown.coreui.time-picker` | Fired when the dropdown has been made visible to the user and CSS transitions have completed. |
204+
| `hide.coreui.time-picker` | Fires immediately when the hide instance method has been called. |
205+
| `hidden.coreui.time-picker` | Fired when the dropdown has finished being hidden from the user and CSS transitions have completed. |
202206
{{< /bs-table >}}
203207

204208
```js

docs/content/integration-guides/laravel.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -151,26 +151,29 @@ With dependencies installed and our project folder ready for us to start coding,
151151

152152
2. **Next we import CoreUI’s JavaScript**. Add the following to resources/js/bootstrap.js to import all of CoreUI’s JS. Popper will be imported automatically through CoreUI.
153153

154+
<!-- eslint-skip -->
154155
```js
155156
// Import all of CoreUI's JS
156-
import * as coreui from '@coreui/coreui';
157+
import * as coreui from '@coreui/coreui'
157158

158159
window.coreui = coreui;
159160
```
160161

161162
**For PRO users**
162163

164+
<!-- eslint-skip -->
163165
```js
164166
// Import all of CoreUI's JS
165-
import * as coreui from '@coreui/coreui-pro';
167+
import * as coreui from '@coreui/coreui-pro'
166168

167169
window.coreui = coreui;
168170
```
169171

170172
You can also import JavaScript plugins individually as needed to keep bundle sizes down:
171173

174+
<!-- eslint-skip -->
172175
```js
173-
import { Tooltip, Toast, Popover } from '@coreui/coreui';
176+
import { Tooltip, Toast, Popover } from '@coreui/coreui'
174177
```
175178

176179
*[Read our JavaScript docs]({{< docsref "/getting-started/javascript" >}}) for more information on how to use CoreUI's plugins.*

0 commit comments

Comments
 (0)