Page Component Reference

Table of Contents


Introduction

Syntax

tml`
	<Page>
		...
	</Page>
`

The Page component creates a scrollable container for page content. Content can be visually grouped into rectangular Cards, if desired. Using the PageCol component, the content can be organized into columns that display as two columns on wide devices or one column on narrow devices. If PageCol is used then all children must be PageCol components that contain the page content.

Attributes

Instance methods

These methods are intended to be used by parent components to dynamically change the properties of the rendered components without re-rendering.

Inherited methods

Children

All template children are included as the Page component children. If any child is a PageCol component, then all children must be PageCol components.

DOM element properties

Styling

By default, the Page <div>: