You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -353,38 +378,38 @@ Options can be passed via data attributes or JavaScript. For data attributes, ap
353
378
<tbody>
354
379
<tr>
355
380
<td><code>clear</code></td>
356
-
<td>...</td>
381
+
<td>Clear selection of the date picker.</td>
357
382
</tr>
358
383
<tr>
359
384
<td><code>reset</code></td>
360
-
<td>...</td>
385
+
<td>Reset selection of the date picker to the initial value.</td>
361
386
</tr>
362
387
<tr>
363
388
<td><code>update</code></td>
364
389
<td>
365
-
Updates the position of an element's dropdown.
390
+
Updates the configuration of the date picker.
366
391
</td>
367
392
</tr>
368
393
<tr>
369
394
<td><code>dispose</code></td>
370
395
<td>
371
-
Destroys an element's dropdown. (Removes stored data on the DOM element)
396
+
Destroys a component. (Removes stored data on the DOM element)
372
397
</td>
373
398
</tr>
374
399
<tr>
375
400
<td>
376
401
<code>getInstance</code>
377
402
</td>
378
403
<td>
379
-
Static method which allows you to get the dropdown instance associated to a DOM element, you can use it like this: <code>coreui.DatePicker.getInstance(element)</code>
404
+
Static method which allows you to get the date picker instance associated to a DOM element, you can use it like this: <code>coreui.DatePicker.getInstance(element)</code>
380
405
</td>
381
406
</tr>
382
407
<tr>
383
408
<td>
384
409
<code>getOrCreateInstance</code>
385
410
</td>
386
411
<td>
387
-
Static method which returns a dropdown instance associated to a DOM element or create a new one in case it wasn't initialized.
412
+
Static method which returns a date picker instance associated to a DOM element or create a new one in case it wasn't initialized.
388
413
You can use it like this: <code>coreui.DatePicker.getOrCreateInstance(element)</code>
0 commit comments