Skip to content

UseIslandResult

Defined in: react/src/useIsland.ts:189

frame: IslandFrame

Defined in: react/src/useIsland.ts:198

The island’s slot, for a frame that renders it (Hero, Cta).


ref: (element) => void

Defined in: react/src/useIsland.ts:196

Attach to the island’s element. It tells the hold when the island is in view, and the impression when it has been seen. Without it the island is treated as in view from mount, and no impression records.

HTMLElement | null

void


state: CreativeState

Defined in: react/src/useIsland.ts:190