Interface CssNode

A CSS file in the book.

interface CssNode {
    content?: string;
    id: string;
    name?: string;
    src?: PathLike;
    type: Css;
}

Hierarchy (view full)

Properties

content?: string

The content of the source. If provided, the src property is ignored.

id: string

The unique identifier of the node.

name?: string

The name of the CSS file.

src?: PathLike

The file path or URL of the source. If content is provided, this property is ignored.

type: Css

The type of the node.