Method IsResponsive
- Namespace
- Velvet
- Assembly
- Velvet.Docs.dll
IsResponsive(StyleVariantKind)
True for the responsive min-width variants (sm:…2xl:) — read off
BreakpointPx(StyleVariantKind) rather than listing them again, so the two cannot disagree.
A value that names no kind throws, for the reason given there.
public static bool IsResponsive(StyleVariantKind kind)
Parameters
kindStyleVariantKind
Returns
- bool