Class TwSpacingStepScale
- Namespace
- TwBlazor.Configuration
- Assembly
- TwBlazor.dll
A spacing utility keyed by its step on Tailwind's spacing scale, such as gap-4 under key 4 and
gap-0.5 under key 0.5.
public class TwSpacingStepScale : Dictionary<double, string>, IDictionary<double, string>, ICollection<KeyValuePair<double, string>>, IDictionary, ICollection, IReadOnlyDictionary<double, string>, IReadOnlyCollection<KeyValuePair<double, string>>, IEnumerable<KeyValuePair<double, string>>, IEnumerable, ISerializable, IDeserializationCallback
- Inheritance
-
TwSpacingStepScale
- Implements
- Inherited Members
Constructors
TwSpacingStepScale()
public TwSpacingStepScale()
Methods
Get(double?)
Gets the class for a step.
public string Get(double? step)
Parameters
Returns
- string
The class, or an empty string when the step is not on the scale.