Skip to content

Vizel API / svelte/src / CreateVizelEditorStateOptions

Interface: CreateVizelEditorStateOptions<T> ​

Defined in: packages/svelte/src/runes/createVizelEditorState.svelte.ts:37

Optional configuration for createVizelEditorState.

Type Parameters ​

Type Parameter
T

Properties ​

equalityFn? ​

ts
optional equalityFn?: (a, b) => boolean;

Defined in: packages/svelte/src/runes/createVizelEditorState.svelte.ts:44

Equality comparator used to short-circuit current updates. Defaults to Object.is; supply a custom comparator (for example, shallowEqualArray) when the selector projects to a structurally compared value.

Parameters ​

ParameterType
aT
bT

Returns ​

boolean

Released under the MIT License.