Module: App

The main component of the application. Renders the layout and handles user interactions.

Source:

Example

<App />

Methods

(computed) tree()

Retrieves the tree data.

Source:

(function) created()

The created lifecycle hook. Checks if the server is online and calls the init method.

Source:

(function) data()

Method data
Source:

(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.

Source:
Returns:
  • An array of child routes.
Type
Array

(method) init() → {Promise.<void>}

Initializes the application.

Source:
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.

Source:
Returns:
  • A promise that resolves when the selection is updated.
Type
Promise.<void>

(method) toggleFullscreen()

Method toggleFullscreen
Source:

(function) mounted()

Method mounted
Source: