Documentation
On this page

Function · Hooks and State

createControlRef

Creates a retained ref that can be passed to a control outside a component render.

@sharpts/gui · SharpTS 572a2e31be0e

Signature

TypeScript
createControlRef(): ControlRef<THandle>

Returns

ControlRef<THandle> — A detached control ref.

Source

src/SharpTS.Gui.Sdk/GuiPackage/runtime.ts:274 at SharpTS revision 572a2e31be0e2a09be0138bc44501b34d6245b51.