PageCol Component Reference

Table of Contents


Introduction

Syntax

tml`
	<Page>
		<PageCol>
			column 1 content
		<PageCol>
		<PageCol>
			column 2 content
		<PageCol>
	</Page>
`

The PageCol component organizes Page Component content into columns. On narrow devices, the columns are displayed serially. On wide devices, the columns are displayed side by side. Using PageCol allows balanced column content since the Page area is logically infinite.

By default, the styling only allows a one or two column layout.

Attributes

Children

All template children are included as the PageCol component children.

DOM element properties

Styling

By default, the PageCol <div> will span the width of the viewport on narrow devices and span half the width of the viewport on wide devices with a small butter between them.