Skip to content

Function: useSemantic()

@termwright/ink


@termwright/ink / useSemantic

useSemantic(ref, annotation): void

Defined in: ink/src/use-semantic.ts:7

Attach developer intent to the Ink host element held by ref.

RefObject<DOMElement | null>

InkSemanticAnnotation

void