Options
All
  • Public
  • Public/Protected
  • All
Menu
description

This class extends the Layout class to build a flex layout. Flexible cards consist in template parts that are adaptive depending potentially on: 1. their content ; 2. the page size and ; 3. their siblings' size.

The flex layout is useful to build dashboard screens, vertical screens (or "timelines") and custom app screens.

example

Using the FlexLayout class

  // create a new flex layout
const layout = new FlexLayout();
since

v0.1.0

Hierarchy

Index

Constructors

Properties

Methods

Constructors

Properties

templates: Template[]

The template parts that are assembled to build the layout. Template parts are concatenated in a sequential process where the indexes define the order of assembly.

var

{Template[]}

Methods

  • render(): string

Generated using TypeDoc