fn
runPostprocessors
testedRun the postprocessor chain against initialState.
Signature
ts
export function runPostprocessors(
processors: readonly MaskPostprocessor[],
state: ElementState,
initialState: ElementState,
): ElementState{ ... }Parameters
| Parameter | Type | Description |
|---|---|---|
processors | readonly MaskPostprocessor[] | — |
state | ElementState | — |
initialState | ElementState | — |
Returns
ElementState| Property | Type | Description |
|---|---|---|
value | string | — |
selection | SelectionRange | — |