Skip to content

@revolist/revogrid / OnHandler

Interface: OnHandler()<StoreType>

Type Parameters

Type Parameter
StoreType
ts
interface OnHandler(eventName: "set", callback: SetEventHandler<StoreType>): () => void

Parameters

ParameterType
eventName"set"
callbackSetEventHandler<StoreType>

Returns

Function

Returns

void

Defined in

src/utils/store.types.ts:12

ts
interface OnHandler(eventName: "get", callback: GetEventHandler<StoreType>): () => void

Parameters

ParameterType
eventName"get"
callbackGetEventHandler<StoreType>

Returns

Function

Returns

void

Defined in

src/utils/store.types.ts:13

ts
interface OnHandler(eventName: "dispose", callback: DisposeEventHandler): () => void

Parameters

ParameterType
eventName"dispose"
callbackDisposeEventHandler

Returns

Function

Returns

void

Defined in

src/utils/store.types.ts:14

ts
interface OnHandler(eventName: "reset", callback: ResetEventHandler): () => void

Parameters

ParameterType
eventName"reset"
callbackResetEventHandler

Returns

Function

Returns

void

Defined in

src/utils/store.types.ts:15

Revogrid is a MIT-licensed open source library made by Revolist OU.