File tree Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -329,46 +329,46 @@ Where 'a' is the id of the component and 1 is the index of the tab to set.
329
329
/>
330
330
<br />
331
331
332
- ### openModal
332
+ ### open
333
333
334
- Use the ` openModal ` function to open a modal.
334
+ Use the ` open ` function to open a modal or drawer .
335
335
336
336
Syntax:
337
337
338
338
``` js
339
- openModal (id: string)
339
+ open (id: string)
340
340
```
341
341
342
342
Parameters:
343
343
344
344
` id ` string
345
- The id of the modal component to open.
345
+ The id of the modal or drawer component to open.
346
346
347
347
Example:
348
348
349
349
``` js
350
- openModal (' a' );
350
+ open (' a' );
351
351
```
352
352
353
- ### closeModal
353
+ ### close
354
354
355
- Use the ` closeModal ` function to close a modal.
355
+ Use the ` close ` function to close a modal.
356
356
357
357
Syntax:
358
358
359
359
``` js
360
- closeModal (id: string)
360
+ close (id: string)
361
361
```
362
362
363
363
Parameters:
364
364
365
365
` id ` string
366
- The id of the modal component to close.
366
+ The id of the modal or drawer component to close.
367
367
368
368
Example:
369
369
370
370
``` js
371
- closeModal (' a' );
371
+ close (' a' );
372
372
```
373
373
374
374
### recompute
You can’t perform that action at this time.
0 commit comments