Skip to main content

Interface: Activity

Independent screen or a page rendered on top of the app

Properties

cluster?

optional cluster: string;

Cluster of the launched activity

Defined in

src/components/activity/Activity.tsx:74


content

content: ReactNode;

Content to display inside the activity

Defined in

src/components/activity/Activity.tsx:57


hideTitleInHeader?

optional hideTitleInHeader: boolean;

Hides title from the window header

Defined in

src/components/activity/Activity.tsx:63


icon?

optional icon: ReactNode;

Activity icon, optional but highly recommended

Defined in

src/components/activity/Activity.tsx:65


id

id: string;

Unique ID

Defined in

src/components/activity/Activity.tsx:55


location

location: ActivityLocation;

Current activity location

Defined in

src/components/activity/Activity.tsx:59


minimized?

optional minimized: boolean;

Whether this activity is minimized to the taskbar

Defined in

src/components/activity/Activity.tsx:67


temporary?

optional temporary: boolean;

Temporary activity will be closed if another activity is opened It will turn into permanent one if user interacts with it

Defined in

src/components/activity/Activity.tsx:72


title?

optional title: ReactNode;

Title to render in the taskbar and in window

Defined in

src/components/activity/Activity.tsx:61