Skip to main content

RuntimeStateInspectorPanelProps

@lowcode/builder-web


Interface: RuntimeStateInspectorPanelProps

Defined in: apps/builder-web/src/components/RuntimeStatePanel/RuntimeStateInspectorPanel.tsx:17

Панель runtime-инспекции в правой колонке редактора.

Remarks

На шаге 3 RuntimeStateInspector больше не использует portal и не зависит от DOM-якоря. Вся панель рендерится как обычный React UI.

Properties

dataSources?

optional dataSources: DataSource[]

Defined in: apps/builder-web/src/components/RuntimeStatePanel/RuntimeStateInspectorPanel.tsx:21

DSL dataSources (метаданные для инспектора).


dispatch

dispatch: (command) => void | null

Defined in: apps/builder-web/src/components/RuntimeStatePanel/RuntimeStateInspectorPanel.tsx:31

Runtime dispatch (вызовы callDataSource и т.п.).


events

events: RuntimeEventItem[]

Defined in: apps/builder-web/src/components/RuntimeStatePanel/RuntimeStateInspectorPanel.tsx:36

Runtime events (лог).


onClearEvents()?

optional onClearEvents: () => void

Defined in: apps/builder-web/src/components/RuntimeStatePanel/RuntimeStateInspectorPanel.tsx:41

Clears runtime events in the parent (App).

Returns

void


snapshot

snapshot: RuntimeSnapshot | null

Defined in: apps/builder-web/src/components/RuntimeStatePanel/RuntimeStateInspectorPanel.tsx:26

Runtime snapshot (источник данных инспектора).