Documentation
On this page

Interface · Core and Composition

GuiElement

Immutable virtual element produced by TSX and consumed by the GUI renderer.

@sharpts/gui · SharpTS 572a2e31be0e

Members

__guiElement

readonly __guiElement: true

Internal marker distinguishing GUI elements from ordinary objects.

Type: true

key

readonly key: string | null

Stable reconciliation key, when provided.

Type: string | null

props

readonly props: any

Props supplied when the element was created.

Type: any

source

readonly source: SourceInfo | null

Development source location, when emitted by the TSX development runtime.

Type: SourceInfo | null

type

readonly type: any

Component function or native control tag represented by this element.

Type: any

Source

src/SharpTS.Gui.Sdk/GuiPackage/runtime-types.ts:130 at SharpTS revision 572a2e31be0e2a09be0138bc44501b34d6245b51.