fn

runPostprocessors

tested

Run the postprocessor chain against initialState.

Signature

ts
export function runPostprocessors(
  processors: readonly MaskPostprocessor[],
  state: ElementState,
  initialState: ElementState,
): ElementState{ ... }

Parameters

ParameterTypeDescription
processorsreadonly MaskPostprocessor[]
stateElementState
initialStateElementState

Returns

ElementState
PropertyTypeDescription
valuestring
selectionSelectionRange