Skip to content

Interface: CssdocTag

Defined in: packages/spec/src/index.ts:27

One tag in the canonical vocabulary.

Properties

aliasFor?

ts
optional aliasFor?: string;

Defined in: packages/spec/src/index.ts:33

The canonical tag (without @) this tag is an alias of, e.g. csspart aliases part.


allowMultiple?

ts
optional allowMultiple?: boolean;

Defined in: packages/spec/src/index.ts:35

Whether the tag may appear more than once in a comment.


argument?

ts
optional argument?: CssdocTagArgument;

Defined in: packages/spec/src/index.ts:39

For the argument-bearing tags, the shape of the token that follows the tag.


kind

ts
kind: CssdocTagKind;

Defined in: packages/spec/src/index.ts:31

The tag's syntactic kind.


name

ts
name: string;

Defined in: packages/spec/src/index.ts:29

The tag name, without the leading @ (e.g. modifier).


recordKind?

ts
optional recordKind?: CssdocRecordKind;

Defined in: packages/spec/src/index.ts:37

For record tags, the CssdocRecordKind the tag selects.

Released under the MIT License