Skip to content

humanizeControlLabel

function

Back to Helios Web API

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

Description

Convert a state key or control identifier into a display label.

Signature

export function humanizeControlLabel(value) {

Parameters

NameTypeAttributesDefaultDescription
valuestringState key, control id, or raw label value.

Returns

Human-readable control label.

Type string