getTemplate

Function

Returns a template layout by name. Currently supports "simple" and "blank". Future templates can be added or loaded via dynamic import.

Parameters

Parameter Type Default Notes
name Required string

The template name (e.g., "simple", "blank")

context Required IArcGISContext

Returns

Promise<IHubLayout>
Property Type Notes
sections Array<Record<stringany>>

Sections are required for all Layouts


Function defined in packages/common/src/core/_internal/getTemplate.ts:11