Interface InAspect<TInstance, TKind>

Some aspect of the user input. Such as input focus or validity.

An aspect is applied to input control first. This creates an aspect instance bound to that control. All aspect-related operations are performed by that instance.

Type Parameters

  • TInstance

    Aspect instance type.

  • TKind extends Kind = "default"

    Aspect application kind.

Hierarchy

  • InAspect

Methods

Methods

  • Applies this aspect to the given input control.

    This method is called at most once per control when requested aspect is not applied to the control yet.

    Type Parameters

    • TValue

      Input value type.

    Parameters

    • control: InControl<TValue>

      Input control to apply aspect to.

    Returns Applied<TValue, TInstance, TInstance>

    An aspect applied to the given control.

Generated using TypeDoc