Skip to content

Kitto.Html.TabPanel ​

KittoX tab panel controller. Renders a dynamic tab container with vanilla JS state management (kxTabs module) and HTMX for lazy loading. SubViews are rendered as closable tabs; menu clicks create/activate tabs. The kxTabs JS module is loaded externally from Resources/js/kxtabs.js.

TKXTabPanelController class ​

pascal
procedure AddController(const AController: IKXController);

Adds a child controller, rendered as a tab.

pascal
function RenderChildren: string;

Renders the child controllers as the tab bodies.

pascal
function Render: string;

Renders the tab panel (tab headers + bodies).

pascal
property SubViews: string read GetSubViews;

RTTI carrier for the SubViews node: the list of views auto-opened as tabs (each child is a View). Read node by node at render time.

Released under Apache License, Version 2.0.