Function handleEffects

  • Run effects on the output of the update function

    Type Parameters

    • T

    Parameters

    • __namedParameters: {
          effects: Effect<T>[];
      }
    • handlers: {
          blurInput?: (() => void);
          focusInput: (() => void);
          focusSelectedItem: ((selectedIem) => void);
          scrollItemIntoView: ((item) => void);
      }
      • Optional blurInput?: (() => void)
          • (): void
          • Returns void

      • focusInput: (() => void)
          • (): void
          • Returns void

      • focusSelectedItem: ((selectedIem) => void)
          • (selectedIem): void
          • Parameters

            • selectedIem: T

            Returns void

      • scrollItemIntoView: ((item) => void)
          • (item): void
          • Parameters

            • item: T

            Returns void

    Returns undefined

Generated using TypeDoc