Constructors

Methods

Constructors

Methods

  • Builds a CSS selector string from an array of SelectorParts.

    Parameters

    • parts: {
          level?: number;
          name: string;
      }[]

      The parts of the selector.

    Returns string

  • Escapes special characters in a CSS identifier.

    Parameters

    • identifier: string

      The CSS identifier to escape.

    Returns string