Class StypValueStruct<TSelf>Abstract

Structured property CSS value. E.g. length, percentage, color, etc.

Type Parameters

Hierarchy

Constructors

Properties

Methods

Constructors

Properties

priority: number

CSS property value priority.

The value Important and above means the property is !important. Everything else means normal priority.

The property value with higher priority number takes precedence over the one with lower one.

Methods

  • Creates structured CSS value with the given priority.

    Parameters

    • priority: number

      New priority.

    Returns TSelf

    Either a new value equal to this one but having the given priority, or this one if priority did not change.

  • Returns textual representation of this value.

    Textual representation never contains an !important suffix.

    Returns string

    A textual representation of this value to use as CSS property value.

Generated using TypeDoc