Skip to content

Interface: CssPart

Defined in: packages/core/src/model.ts:34

A sub-element ("part") of a component — a scoped child class like .item or .tip.

Properties

description?

ts
optional description?: string;

Defined in: packages/core/src/model.ts:38

Prose from a @part / @csspart doc tag, when authored.


name

ts
name: string;

Defined in: packages/core/src/model.ts:36

The part class without the leading dot, e.g. item.

Released under the MIT License