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

This class extends the Layout class to build a grid layout. Grids consist in a predefined number of rows and columns such that the screen is split into multiple boxes that are all of the same size. The default grid system offered by Tailwind allows up to 12-columns.

The grid layout is useful to build dashboard screens, detail screens and custom app screens.

example

Using the GridLayout class

  // create a new grid layout
const layout = new GridLayout();
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