Table of Contents

Class BOBTransitions

Namespace
BlazOrbit.Components
Assembly
BlazOrbit.Core.dll

Aggregates transition entries keyed by TransitionTrigger and emits CSS variables / shorthand.

public class BOBTransitions
Inheritance
object
BOBTransitions

Constructors

BOBTransitions()

public BOBTransitions()

Properties

HasTransitions

True when at least one entry has been added.

public bool HasTransitions { get; }

Property Value

bool

Methods

GetCssVariables()

Emits the CSS custom-property map for the configured transitions plus the shorthand variable.

public Dictionary<string, string> GetCssVariables()

Returns

Dictionary<string, string>

GetDataAttributeValue()

Builds the space-separated trigger:property token list used in the data attribute.

public string GetDataAttributeValue()

Returns

string

MergeWith(BOBTransitions)

Returns a new BOBTransitions with this instance overlaid by overrides.

public BOBTransitions MergeWith(BOBTransitions overrides)

Parameters

overrides BOBTransitions

Returns

BOBTransitions