furo-vertical-flex

furo-vertical-flex #

@furo/layout v2.2.14
import '@furo/layout/src/furo-vertical-flex.js';
exports FuroVerticalFlex js
exports <furo-vertical-flex> custom-element-definition
superclass LitElement

summary vertical alignment

furo-vertical-flex

With this component, any elements can be aligned vertically. Similar to css flex. The attribute “flex” must be set for growing elements. The component takes up 100% of the space

1
2
3
4
5
<furo-vertical-flex>
  <div>small</div>
  <div flex>full width</div>
  <div>small</div>
</furo-vertical-flex>

Tags: layout

Attributes and Properties #

Methods #

Slots #

default #

Type: HTMLElement [0..n]

default slot to add content.