Table of Contents

Method Apply

Namespace
Velvet
Assembly
Velvet.Docs.dll

Apply(VisualElement, string[])

Extracts the font intent from classNames and applies it, or clears the inline font style when no font class is present. Called by the reconciler whenever an element's class list changes (and on creation).

public static void Apply(VisualElement element, string[] classNames)

Parameters

element VisualElement
classNames string[]