Skip to content

JSON Schema Form API / @xunserver-jsf/core / ScopedFormInstance

Interface: ScopedFormInstance ​

Defined in: core/src/runtime/form/contracts.ts:135

Properties ​

path ​

readonly path: InstancePath

Defined in: core/src/runtime/form/contracts.ts:136

Methods ​

array() ​

array(path): ArrayInstance

Defined in: core/src/runtime/form/contracts.ts:145

Parameters ​

path ​

InstancePathLike

Returns ​

ArrayInstance


blur() ​

blur(viewId): void

Defined in: core/src/runtime/form/contracts.ts:142

Parameters ​

viewId ​

ViewNodeId

Returns ​

void


focus() ​

focus(viewId): void

Defined in: core/src/runtime/form/contracts.ts:141

Parameters ​

viewId ​

ViewNodeId

Returns ​

void


getField() ​

getField(path): FieldInstance

Defined in: core/src/runtime/form/contracts.ts:138

Parameters ​

path ​

InstancePathLike

Returns ​

FieldInstance


getValue() ​

getValue(path?): JsonValue | undefined

Defined in: core/src/runtime/form/contracts.ts:137

Parameters ​

path? ​

InstancePathLike

Returns ​

JsonValue | undefined


scope() ​

scope(path): ScopedFormInstance

Defined in: core/src/runtime/form/contracts.ts:146

Parameters ​

path ​

InstancePathLike

Returns ​

ScopedFormInstance


setActiveTab() ​

setActiveTab(viewId, tabKey): void

Defined in: core/src/runtime/form/contracts.ts:144

Parameters ​

viewId ​

ViewNodeId

tabKey ​

string | null

Returns ​

void


setCollapsed() ​

setCollapsed(viewId, collapsed): void

Defined in: core/src/runtime/form/contracts.ts:143

Parameters ​

viewId ​

ViewNodeId

collapsed ​

boolean

Returns ​

void


setValue() ​

setValue(path, value): void

Defined in: core/src/runtime/form/contracts.ts:139

Parameters ​

path ​

InstancePathLike

value ​

unknown

Returns ​

void


touch() ​

touch(path): void

Defined in: core/src/runtime/form/contracts.ts:140

Parameters ​

path ​

InstancePathLike

Returns ​

void