Skip to content

Interface: ICardHeaderExtendedHeaderLabelProxy

A designer-facing interface that provides access to card header extended header label item properties.

example

// Working with label type extended headers
// Assume this rule is bound to a LabelItem's ImagePosition property
export default function GetLabelImagePosition(context) {
  const labelProxy = context;
  const itemIndex = labelProxy.getItemIndex();
  return itemIndex === 0 ? 'Leading' : 'Trailing'; // First label has leading image, others trailing
}

Hierarchy

Implemented by

Summary

Properties

Class Properties

Currently none in this class.

Inherited Properties

Methods

Class Methods

Currently none in this class.

Inherited Methods

Methods