@revolist/revogrid / OnHandler
Interface: OnHandler()<StoreType>
Type Parameters
Type Parameter |
---|
StoreType |
ts
interface OnHandler(eventName: "set", callback: SetEventHandler<StoreType>): () => void
Parameters
Parameter | Type |
---|---|
eventName | "set" |
callback | SetEventHandler <StoreType > |
Returns
Function
Returns
void
Defined in
ts
interface OnHandler(eventName: "get", callback: GetEventHandler<StoreType>): () => void
Parameters
Parameter | Type |
---|---|
eventName | "get" |
callback | GetEventHandler <StoreType > |
Returns
Function
Returns
void
Defined in
ts
interface OnHandler(eventName: "dispose", callback: DisposeEventHandler): () => void
Parameters
Parameter | Type |
---|---|
eventName | "dispose" |
callback | DisposeEventHandler |
Returns
Function
Returns
void
Defined in
ts
interface OnHandler(eventName: "reset", callback: ResetEventHandler): () => void
Parameters
Parameter | Type |
---|---|
eventName | "reset" |
callback | ResetEventHandler |
Returns
Function
Returns
void