LabelOverride Interface

Deprecated  Use InstanceLabelOverride

Rule to override labels and descriptions of nodes which pass rule's condition.

Important: Prefer InstanceLabelOverride over this rule when possible as it has better performance.

see More details

Extends

Properties

Name Type Description
condition undefined | string Defines a condition for the rule, which needs to be met in order to execute it.  
description undefined | string Defines the description that should be used for node.  
label undefined | string Defines the label that should be used for node.  
ruleType LabelOverride Used for serializing to JSON.  

Inherited properties

Name Type Inherited from Description
onlyIfNotHandled undefined | boolean RuleBase Should this rule should be ignored if there is already an existing
priority undefined | number RuleBase Defines the order in which presentation rules will be evaluated and executed.
requiredSchemas undefined | RequiredSchemaSpecification[] RuleBase Schema requirements for this rule.

Defined in

Last Updated: 12 June, 2024