Skip to content

Interface: ICardHeaderExtendedHeaderRatingProxy

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

example

// Working with rating type extended headers
// Assume this rule is bound to a RatingItem's Score property
export default function GetRatingScore(context) {
  const ratingProxy = context;
  const cd = context.getPageProxy().getClientData();
  const itemIndex = ratingProxy.getItemIndex();
  return cd[`RatingScore${itemIndex}`] || 0; // Get score from ClientData or default to 0
}

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