We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
unmount
1 parent 908a334 commit 5192278Copy full SHA for 5192278
src/api/application-api.md
@@ -261,13 +261,9 @@ app.provide('user', 'administrator')
261
262
## unmount
263
264
-- **Arguments:**
265
-
266
- - `{Element | string} rootContainer`
267
268
- **Usage:**
269
270
- Unmounts a root component of the application instance on the provided DOM element.
+ Unmounts a root component of the application instance.
271
272
- **Example:**
273
@@ -285,7 +281,7 @@ const app = createApp({})
285
281
app.mount('#my-app')
286
282
287
283
// Application will be unmounted 5 seconds after mount
288
-setTimeout(() => app.unmount('#my-app'), 5000)
284
+setTimeout(() => app.unmount(), 5000)
289
```
290
291
## use
0 commit comments