Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 2 additions & 6 deletions src/api/application-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -261,13 +261,9 @@ app.provide('user', 'administrator')

## unmount

- **Arguments:**

- `{Element | string} rootContainer`

- **Usage:**

Unmounts a root component of the application instance on the provided DOM element.
Unmounts a root component of the application instance.

- **Example:**

Expand All @@ -285,7 +281,7 @@ const app = createApp({})
app.mount('#my-app')

// Application will be unmounted 5 seconds after mount
setTimeout(() => app.unmount('#my-app'), 5000)
setTimeout(() => app.unmount(), 5000)
```

## use
Expand Down