Class ShimiHandler<TData, TSource>

The ShimiHandler is designed to be added to ShimiEvents, containing some action to be called whenever the event is triggered.

Type Parameters

Hierarchy

  • ShimiHandler

Constructors

Accessors

Constructors

  • Type Parameters

    Type Parameters

    Parameters

    • logic: ((data: TData) => void)

      The logic to be executed whenever the event that the handler is attached to gets triggered.

        • (data: TData): void
        • Parameters

          • data: TData

          Returns void

    Returns ShimiHandler<TData, TSource>

Accessors

  • get logic(): ((data: TData) => void)
  • The logic to be executed whenever the event that the handler is attached to gets triggered.

    Returns ((data: TData) => void)

      • (data: TData): void
      • The logic to be executed whenever the event that the handler is attached to gets triggered.

        Parameters

        • data: TData

        Returns void

Generated using TypeDoc