Skip to content

API Reference / @gtkx/react / config / PlaceInfo

Type Alias: PlaceInfo

PlaceInfo = object

Defined in: reconciler/registry.d.ts:5

Per-child values a slot hook receives while placing or moving one child.

Properties

adopted

adopted: GObject.Object | null

Defined in: reconciler/registry.d.ts:13

Object adopted for this child by an earlier attach, or null before it has one.


context

context: unknown

Defined in: reconciler/registry.d.ts:17

Value initialize returned for this behavior on the parent.


index

index: number

Defined in: reconciler/registry.d.ts:9

Position of the child among the slot's children.


props

props: Props

Defined in: reconciler/registry.d.ts:15

Props of the child element.


sibling

sibling: GObject.Object | null

Defined in: reconciler/registry.d.ts:11

Object of the preceding child in the slot, or null when the child comes first.


slot

slot: string

Defined in: reconciler/registry.d.ts:7

Name of the slot being filled: children, or the prop the child was nested under.

Released under the MPL-2.0 License.