Skip to main content

latest
This package works with DenoIt is unknown whether this package works with Cloudflare Workers, Node.js, Bun, Browsers
It is unknown whether this package works with Cloudflare Workers
It is unknown whether this package works with Node.js
This package works with Deno
It is unknown whether this package works with Bun
It is unknown whether this package works with Browsers
JSR Score
76%
Published
7 months ago (0.1.2)
variable FlexDirection

The direction of the flexbox layout main axis.

There are always two perpendicular layout axes: main (or primary) and cross (or secondary). Adding items will cause them to be positioned adjacent to each other along the main axis. By varying this value throughout your tree, you can create complex axis-aligned layouts.

Items are always aligned relative to the cross axis, and justified relative to the main axis.

The default behavior is [FlexDirection::Row].

Specification

Add Package

deno add jsr:@loading/taffy

Import symbol

import { FlexDirection } from "@loading/taffy";

---- OR ----

Import directly with a jsr specifier

import { FlexDirection } from "jsr:@loading/taffy";

Add Package

npx jsr add @loading/taffy

Import symbol

import { FlexDirection } from "@loading/taffy";

Add Package

yarn dlx jsr add @loading/taffy

Import symbol

import { FlexDirection } from "@loading/taffy";

Add Package

pnpm dlx jsr add @loading/taffy

Import symbol

import { FlexDirection } from "@loading/taffy";

Add Package

bunx jsr add @loading/taffy

Import symbol

import { FlexDirection } from "@loading/taffy";