Skip to content

HoverSettings

type HoverSettings =
    {
        Enabled: bool
        Engine: MotionEngine option
        Duration: int option
        Easing: Easing option
        Values: Map<string,string>
    }
AssemblyPartas.Nacara.Plugins.Motion

What one hover is told to do beside the document.

Fields

Enabled: bool

Whether the hover is written at all.

Defaults to true.

Engine: MotionEngine option

The engine of this hover, instead of MotionOptions.Engine.

Defaults to None, which uses the plugin's engine.

Duration: int option

The duration in milliseconds, instead of the document's.

Defaults to None, which uses the document's duration.

Easing: Easing option

The easing, instead of the document's.

Defaults to None, which uses the document's easing.

Values: Map<string,string>

CSS values that replace a change's hovered value, by key.

A key is the property for the root element, such as background-color, or Layer/property for a part, such as Accent/width. Defaults to Map.empty.