Skip to content

Interface: CssPropertyDeclared ​

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

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

Properties ​

defaultValue? ​

ts
optional defaultValue?: string;

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

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


description? ​

ts
optional description?: string;

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

Prose from a @cssproperty doc tag, when authored.


inherits? ​

ts
optional inherits?: boolean;

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

The @property inherits flag, when declared.


name ​

ts
name: string;

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

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


syntax? ​

ts
optional syntax?: string;

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

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

Released under the MIT License