Constructors
constructor
- new DomStoreElement(store, name, value): DomStoreElement
-
Properties
linkz
Private name
name: string
Private store
value
Methods
destroy
- destroy(): void
-
Returns void
removeLink
- removeLink(id): void
-
Returns void
setLink
- setLink(target, key, id, io): void
-
Parameters
-
target: {
[k: string]: any;
}
-
key: string
-
id: any
-
io: {
input?: ((v) => any);
output?: ((v) => any);
}
-
Optional input?: ((v) => any)
-
Optional output?: ((v) => any)
Returns void
setValue
- setValue(value): void
-
Returns void
valueChanged
- valueChanged(value, link?): void
-
Returns void
Static fromLink
- fromLink(store, name, target, key, id, io): DomStoreElement
-
Parameters
-
-
name: string
-
target: {
[k: string]: any;
}
-
key: string
-
id: any
-
io: {
input?: ((v) => any);
output?: ((v) => any);
}
-
Optional input?: ((v) => any)
-
Optional output?: ((v) => any)