Contents

label

A required value that’s a short, localized description of the line item.

Declaration

DOMString label;

Discussion

Provide the label in title case—for example, VAT Tax, Gift Wrap and Card, or Discount. The label can’t be empty.

Omit any punctuation and whitespace after the label. The framework formats the label for display.

See Also

Setting line item properties