Display mode enumeration
Controls the layout algorithm type for an element. This corresponds to the CSS display property
and determines how an element and its children are laid out.
import { Style, Display } from "taffy-layout";
const style = new Style();
style.display = Display.Flex; // Enable flexbox layout
style.display = Display.Grid; // Enable grid layout
style.display = Display.None; // Hide element from layout