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

This class extends the Layout class to build a single component page. Typically, such single component pages display only one component that is centered both vertically and horizontally.

The single component layout is useful to build log-in and sign-up screens or focussed feature screens.

example

Using the SingularLayout class

  // create a new single component layout
const layout = new SingularLayout();
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