mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-29 19:30:37 +01:00
docs(modal/slideover): update close method in tips to use emit('close') (#3421)
This commit is contained in:
@@ -334,7 +334,7 @@ name: 'modal-programmatic-example'
|
|||||||
::
|
::
|
||||||
|
|
||||||
::tip
|
::tip
|
||||||
You can close the modal within the modal component by calling `modal.close()`.
|
You can close the modal within the modal component by emitting `"emit('close')`.
|
||||||
::
|
::
|
||||||
|
|
||||||
### Nested modals
|
### Nested modals
|
||||||
|
|||||||
@@ -333,7 +333,7 @@ name: 'slideover-programmatic-example'
|
|||||||
::
|
::
|
||||||
|
|
||||||
::tip
|
::tip
|
||||||
You can close the slideover within the slideover component by calling `slideover.close()`.
|
You can close the slideover within the slideover component by emitting `emit('close')`.
|
||||||
::
|
::
|
||||||
|
|
||||||
### Nested slideovers
|
### Nested slideovers
|
||||||
|
|||||||
Reference in New Issue
Block a user