Strict TypeScript API

API Reference

Explore Strelit UI Kit's layout engine specifications, configuration schemas, component containers, and event emitters.

Configuration Objects

⚙️

Layout Configuration (LayoutConfig)

General workspace configuration including dimensions, splitters, tab headers, theme variables, and initial layout dimensions.

🧩

Item Configuration (ItemConfig)

Hierarchical schemas for Components, Rows, Columns, and Stacks (`type: 'component' | 'row' | 'column' | 'stack'`).

Core Classes & Interfaces

🏗️

StrelitLayout / VirtualLayout

The top-level layout manager instance. Handles component registration, tree serialization, and DOM mounting.

📦

ComponentContainer

The container passed to your component factories (`container.element`, dimensions, state, lifecycle hooks).

📑

ContentItem

Base class for all tree items (`RowOrColumn`, `Stack`, `ComponentItem`). Supports tree traversal and events.

🏷️

Tab Header Item

Represents an individual tab in a stack header. Manages active selection, close buttons, and drag initiation.

🔝

Stack Header

The header bar above a tab stack containing tabs, maximize/minimize controls, and popout triggers.

🪟

BrowserWindow

Represents a detached native popout window synchronized with the parent workspace.

📡

EventEmitter

Strictly typed event system supporting `itemCreated`, `stateChanged`, `tabCreated`, and custom signals.