Core API Overview > @adpt/core > useImperativeMethods
useImperativeMethods() function
Signature:
export declare function useImperativeMethods<T extends object = AnyMethods>(create: () => T & GenericInstance): void;
Parameters
Parameter | Type | Description |
---|---|---|
create | () => T & GenericInstance |
Returns:
void