mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-14 20:19:34 +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
|
||||
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
|
||||
|
||||
@@ -333,7 +333,7 @@ name: 'slideover-programmatic-example'
|
||||
::
|
||||
|
||||
::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
|
||||
|
||||
Reference in New Issue
Block a user