Scripting API

Scripting API

StyleProperty

Record in Abyss.Core, from Abyss.Core.

A property a stylesheet's rule can set.

public record StyleProperty

Constructors

StyleProperty

public StyleProperty(string Css, StylePropertyKind Kind, IReadOnlyList<string> Keywords, string Initial)

A property a stylesheet's rule can set.

Parameters

  • Css: Its name.
  • Kind: What its value is.
  • Keywords: The words a keyword's value can be.
  • Initial: What it is where nothing sets it, as CSS writes it.

Properties

Css

public string Css { get; init; }

Its name.

Kind

public StylePropertyKind Kind { get; init; }

What its value is.

Keywords

public IReadOnlyList<string> Keywords { get; init; }

The words a keyword's value can be.

Initial

public string Initial { get; init; }

What it is where nothing sets it, as CSS writes it.