Skip to main content

AstPageWatcher

@lowcode/dsl-compiler


Interface: AstPageWatcher

Defined in: dsl-compiler/src/dslToAst/astTypes.ts:93

AST-представление watcher на уровне страницы.

Extends

  • Omit<PageWatcher, "when">

Properties

actions

actions: Action[]

Defined in: dsl/src/schema.ts:842

Действия, выполняемые при срабатывании.

Inherited from

Omit.actions


debounceMs?

optional debounceMs: number

Defined in: dsl/src/schema.ts:848

Дебаунс (мс).

Inherited from

Omit.debounceMs


id

id: string

Defined in: dsl/src/schema.ts:836

Идентификатор watcher-а (для редактора и ссылок).

Inherited from

Omit.id


mode?

optional mode: "change" | "always"

Defined in: dsl/src/schema.ts:845

Режим: "change" (по умолчанию) или "always".

Inherited from

Omit.mode


throttleMs?

optional throttleMs: number

Defined in: dsl/src/schema.ts:851

Троттлинг (мс).

Inherited from

Omit.throttleMs


when

when: AstExpressionValue

Defined in: dsl-compiler/src/dslToAst/astTypes.ts:94