Skip to main content
Version: 5.0

Interface: DirectorTabRegistration

Defined in: api.ts:86

Properties

component

component: Component

Defined in: api.ts:94

Svelte component rendered when this tab is active. Receives { disabled } prop.


icon?

optional icon?: string

Defined in: api.ts:92

Optional Font Awesome icon class for the tab button.


key

key: string

Defined in: api.ts:88

Unique key — namespace with your module id (e.g. 'my-module.weatherTab').


label

label: string

Defined in: api.ts:90

i18n key for the tab button label.


order?

optional order?: number

Defined in: api.ts:96

Sort order. Built-ins use 10/20/30; default for module tabs is 100 (placed after built-ins).