EN FR
← Modules

jizy-template

Page-template helper that fits a content area between header/footer offsets.

Overview

A small page-template helper. It fits a content area between the header and footer offsets, exposes content/response callbacks, and detects a per-body theme from a theme-* class.

Features

  • Sizes a content element to fill the viewport between configurable header/footer offsets
  • Content and response callbacks for wiring page behaviour
  • Per-body theme detection from a theme-* class (overrides the configured default)
  • Zero dependencies, vanilla JavaScript

Installation

npm install jizy-template