Interface TransformOriginWritable
interface TransformOriginWritable {
get values(): readonly TransformOrigin[];
set(this: void, value: TransformOrigin): void;
subscribe(this: void, run: Subscriber<TransformOrigin>, invalidate?: Invalidator<TransformOrigin>): Unsubscriber;
update(this: void, updater: Updater<TransformOrigin>): void;
}
get values(): readonly TransformOrigin[];
set(this: void, value: TransformOrigin): void;
subscribe(this: void, run: Subscriber<TransformOrigin>, invalidate?: Invalidator<TransformOrigin>): Unsubscriber;
update(this: void, updater: Updater<TransformOrigin>): void;
}
Hierarchy
- Writable<TransformOrigin>
- TransformOriginWritable (view full)
Accessors
values
- get values(): readonly TransformOrigin[]
Returns readonly TransformOrigin[]
Methods
set
- set(this, value): void
Set value and inform subscribers.
Parameters
- this: void
- value: TransformOrigin
to set
Returns void
subscribe
- subscribe(this, run, invalidate?): Unsubscriber
Subscribe on value changes.
Parameters
- this: void
- run: Subscriber<TransformOrigin>
subscription callback
Optional
invalidate: Invalidator<TransformOrigin>cleanup callback
Returns Unsubscriber
update
- update(this, updater): void
Update value using callback and inform subscribers.
Parameters
- this: void
- updater: Updater<TransformOrigin>
callback
Returns void
Provides a custom writable for the
transformOrigin
store adding a read only propertyvalues
that contains a list of all transform origin values.