Dojo NG is being built in the open, one section at a time — follow along on Heptapod.

API REFERENCE · LAYOUT

<dj-two-column-layout>

Leading + trailing slots; collapses to one column on narrow containers (container query).

Try it in the playground

@dojo-ng/two-column-layout · v0.1.1

npm install @dojo-ng/two-column-layout

import "@dojo-ng/two-column-layout";

Properties

PropertyAttributeTypeDefault
bias bias "leading""trailing" None

Slots

leadingtrailing

CSS parts

Style these with dj-two-column-layout::part(name).

leadingtrailing