part function

Attribute<GlobalHTMLAttribute> part(
  1. String value
)

A space-separated list of the part names of the element. Part names allows CSS to select and style specific elements in a shadow tree via the ::part pseudo-element.

Implementation

Attribute<GlobalHTMLAttribute> part(String value) {
  return Attribute('part', value);
}