Function · Hooks and State
useControlRef
Creates a retained control ref whose identity remains stable between renders.
@sharpts/gui 0.0.0-local · SharpTS 7c6010104a43Signature
TypeScript
useControlRef(): ControlRef<THandle>Returns
ControlRef<THandle> — The stable control ref.
Related symbols
Source
SharpTS.Gui.Sdk/GuiPackage/runtime.ts:290 at SharpTS revision 7c6010104a43c34d80e9d44704cf179bc4f5b8e0.