derive
derive<
Sources,T>(sources,compute,equals?):EditorInput<T>
A value computed from other inputs, recomputed when one of them changes and quiet while equals holds.
Type Parameters
Section titled “Type Parameters”Sources
Section titled “Sources”Sources extends readonly EditorInput<unknown>[]
T
Parameters
Section titled “Parameters”sources
Section titled “sources”Sources
compute
Section titled “compute”(…values) => T
equals?
Section titled “equals?”(left, right) => boolean
Returns
Section titled “Returns”EditorInput<T>