Skip to content

createPanelSchemaIndicator

function

Back to Helios Web API

Kind
function
Source
src/ui/panels/panelSchema.js:223

Description

Create a DOM indicator that reflects dirty status for a panel schema.

Signature

export function createPanelSchemaIndicator({

Parameters

NameTypeAttributesDefaultDescription
optionsObjectoptionalIndicator options.
heliosHeliosoptionalHelios instance whose state manager is observed.
schemaObjectoptionalPanel schema to observe.
sectionIdstring|nulloptionalOptional section id to observe.
attachTooltipFunction|nulloptionalOptional tooltip hook.

Returns

Indicator element with a destroy() cleanup method.

Type HTMLElement