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

API REFERENCE · LAYOUT

<dj-stack>

Flex layout. direction/align/spacing/padding/stretch.

Try it in the playground

@dojo-ng/stack · v0.1.1

npm install @dojo-ng/stack

import "@dojo-ng/stack";

Properties

PropertyAttributeTypeDefault
direction direction "vertical""horizontal" "vertical"
align align "start""middle""end" None
spacing spacing "small""medium""large" "medium"
padding padding "small""medium""large" None
stretch stretch boolean false

Slots

Default slot