Skip to main content

getRoot()

returns the ID of the master component

getRoot(): Id;

Returns:

A string with the id of the root element.

Example

toolbar.data.getRoot();