A Javascript library of utility classes and extensions for TerminalFour Programmable Layouts. This repo is a port/continuation of Ben Margevicius' unmaintained T4Utils library.
This update enhances the structure, performance, and extensiveness of the ordinalIndicators
module; Here's how:
- Both the
pageInfo
andgroupInfo
methods have been merged into one self-executing function:info
- Now you can grab all page/group information via
ordinalIndicators.info
- Now you can grab all page/group information via
- More information about groups is available
ordinalIndicators.groupAmount
- The total amount of groups on the pageordinalIndicators.groupCount
- The total amount of content within the current groupordinalIndicators.groupID
- The ID of the current group (zero-based)ordinalIndicators.groupIndex
- The index of the current piece of content within the group (zero-based)
Check out the changelog for previous release information.
There's a couple different ways you can get your hands on the T4Utils 2 library:
- Download one of the latest releases
- Clone the repo,
npm install
, andgulp
(Requires Node)
The T4Utils 2 build environment comes with a JSDoc3 Gulp task. To build out the HTML documentation, run $ gulp docs
and look in the docs
directory within the project. This documentation can then be previewed within a web browser or uploaded to server.
Please read through the contribution guidelines before opening issues or contributing code.
Joel Eisner
Sam Yerkes