Skip to content
HomePagesHomePages template kit

islandId

Compose an island id.

Compose an island id. scope is the emitter’s per-section-instance identity — without it, two instances of one section on a page collide.

Import from @homepages/template-kit or @homepages/template-kit/island-runtime.

function islandId(scope: string, islandKey: string, ordinal: number): string
Name Type Required Description
scope string required
islandKey string required
ordinal number required

string