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

This class extends the Layout class and creates a custom layout. Note that this layout will be empty. If you want to make use of this class, you may need to extend it to populate the template parts.

example

Using the CustomLayout class

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