- Preparing search index...
- The search index is not available
shimi
Class ShimiEvent<TData, TSource>
Methods
add
- add(handler: ShimiHandler<TData, TSource> | ((data: TData) => void)): ShimiHandler<TData, TSource>
-
Parameters
-
handler: ShimiHandler<TData, TSource> | ((data: TData) => void)
remove
- remove(where: ((handler: ShimiHandler<TData, TSource>) => boolean)): void
-
Parameters
-
where: ((handler: ShimiHandler<TData, TSource>) => boolean)
-
- (handler: ShimiHandler<TData, TSource>): boolean
-
Returns boolean
Returns void
trigger
- trigger(data: TData): void
-
Returns void
The base event class in shimi.