Skip to main content

RootClient

RootClient = object

This type is your entry point to the Root client-side APIs. Root automatically creates an instance of this type and provides it for your use. You import the instance and access its properties.

Properties

assets

assets: RootClientAsset

Provides methods to download assets and images from the Root client.


lifecycle

lifecycle: RootClientLifecycle

Lifecycle events for your client-side component.


theme

theme: RootClientTheme

Provides the current theme mode (light or dark) and an event to notify you when the user changes their theme.


users

users: RootClientUser

Provides methods to retrieve user profiles and display the built-in profile popup.