The main component of the application. Renders the layout and handles user interactions.
Example
<App />
Methods
(computed) tree()
Retrieves the tree data.
(function) created()
The created lifecycle hook. Checks if the server is online and calls the init method.
(function) data()
Method data
(method) getChildRoutes(parentName) → {Array}
Retrieves the child routes for a given parent route.
Parameters:
Name | Type | Description |
---|---|---|
parentName |
string | The name of the parent route. |
Returns:
- An array of child routes.
- Type
- Array
(method) init() → {Promise.<void>}
Initializes the application.
Returns:
A promise that resolves when the initialization is complete.
- Type
- Promise.<void>
(method) selectionUpdated(id) → {Promise.<void>}
Updates the selection with the specified ID.
Parameters:
Name | Type | Description |
---|---|---|
id |
number | The ID of the selection to update. |
Returns:
- A promise that resolves when the selection is updated.
- Type
- Promise.<void>
(method) toggleFullscreen()
Method toggleFullscreen
(function) mounted()
Method mounted