Skip to main content

PageSchema

@lowcode/dsl


Interface: PageSchema

Defined in: schema.ts:810

Описание одной страницы приложения.

Properties​

id​

id: string

Defined in: schema.ts:811


layoutComponent?​

optional layoutComponent: ComponentNode

Defined in: schema.ts:815


name​

name: string

Defined in: schema.ts:812


path​

path: string

Defined in: schema.ts:813


rootComponent​

rootComponent: ComponentNode

Defined in: schema.ts:814


state?​

optional state: PageStateSchema

Defined in: schema.ts:823

Локальное состояние страницы.

Переменные из этого блока доступны в выражениях как state.* при нахождении внутри данной страницы.


watchers?​

optional watchers: PageWatcher[]

Defined in: schema.ts:828

Watchers (effects), срабатывающие по изменению выражения.