Type Alias: TextAnchorProps
TextAnchorProps =
object
Defined in: nodes/text-anchor.ts:27
Props for the TextAnchor virtual element.
Used to declaratively embed widgets within text content in a TextBuffer. The anchor is placed at the current position in the text flow.
Example
<GtkTextView>
<x.TextBuffer>
Click here: <x.TextAnchor>
<GtkButton label="Click me" />
</x.TextAnchor> to continue.
</x.TextBuffer>
</GtkTextView>
Properties
children?
optionalchildren:ReactNode
Defined in: nodes/text-anchor.ts:29
The widget to embed at this anchor position