Skip to content

Interface: CssPropertyDeclared

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

A custom property the component declares (@property) or documents (@cssproperty).

Properties

defaultValue?

ts
optional defaultValue?: string;

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

The default value (@property initial-value, or an authored @defaultValue), when known.


description?

ts
optional description?: string;

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

Prose from a @cssproperty doc tag, when authored.


inherits?

ts
optional inherits?: boolean;

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

The @property inherits flag, when declared.


name

ts
name: string;

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

The custom-property name, e.g. --value.


syntax?

ts
optional syntax?: string;

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

The @property syntax descriptor, e.g. <number>, when known.

Released under the MIT License