Skip to content

API Reference / @gtkx/react / config / DetachInfo

Type Alias: DetachInfo ​

DetachInfo = object

Defined in: packages/react/src/reconciler/registry.ts:22

Per-child values a slot hook receives while removing one child.

Properties ​

adopted ​

adopted: GObject.Object | null

Defined in: packages/react/src/reconciler/registry.ts:27

Object the container adopted for this child, or null when it adopted none.


index ​

index: number

Defined in: packages/react/src/reconciler/registry.ts:23


props ​

props: Props

Defined in: packages/react/src/reconciler/registry.ts:29

Props of the child element.


slot ​

slot: string

Defined in: packages/react/src/reconciler/registry.ts:25

Name of the slot the child is leaving.