Visualization
    Preparing search index...

    Interface StateDependentValue<T>

    Represents a group of values used in different states of an associated DOM element.

    2.1

    interface StateDependentValue<T> {
        active?: T;
        default: T;
        disabled?: T;
        hover?: T;
    }

    Type Parameters

    • T
    Index

    Properties

    active?: T

    Gets the value to use in the active state. If this property is undefined, the default value should be used.

    2.1

    default: T

    Gets the value to use in the default state. That is, when no pseudo-class is active.

    2.1

    disabled?: T

    Gets the value to use in the disabled state. If this property is undefined, the default value should be used.

    2.1

    hover?: T

    Gets the value to use in the hover state. If this property is undefined, the default value should be used.

    2.1