tuil
ReferencePackages@mwillbanks/tuil-inkAPI

SemanticNode

interface exported by @mwillbanks/tuil-ink.

View rawEdit

interface

Public interface exported by @mwillbanks/tuil-ink.

export interface SemanticNode extends SemanticMetadata {
  readonly key: string;
  readonly text?: string;
  readonly layout?: Omit<LayoutNodeInput, "id" | "semantics" | "children">;
}

Members

MemberTypeRequiredDescriptionRelated types
keystringYesThe key member uses the string contract.
textstring | undefinedNoThe text member uses the string | undefined contract.
layoutOmit<LayoutNodeInput, "children" | "id" | "semantics"> | undefinedNoThe layout member uses the Omit<LayoutNodeInput, "children" | "id" | "semantics"> | undefined contract.
idstring | undefinedNoThe id member uses the string | undefined contract.
testIdstring | undefinedNoThe testId member uses the string | undefined contract.
roleSemanticRole | undefinedNoThe role member uses the SemanticRole | undefined contract.SemanticRole
labelstring | undefinedNoThe label member uses the string | undefined contract.
descriptionstring | undefinedNoThe description member uses the string | undefined contract.
disabledboolean | undefinedNoThe disabled member uses the boolean | undefined contract.
readOnlyboolean | undefinedNoThe readOnly member uses the boolean | undefined contract.
selectedboolean | undefinedNoThe selected member uses the boolean | undefined contract.
checkedboolean | undefinedNoThe checked member uses the boolean | undefined contract.
expandedboolean | undefinedNoThe expanded member uses the boolean | undefined contract.
valueTextstring | undefinedNoThe valueText member uses the string | undefined contract.

Parameters

This declaration has no public members.

Returns

This declaration does not return a value.

Throws

No thrown errors are documented for this declaration.

No package-local related types.

Source

View the secondary source reference

Package

@mwillbanks/tuil-ink

On this page