Custom Types - Modulo Documentation

Custom Component Parts

The principal method of JavaScript extension of Modulo is that of creating custom Component Parts. See below for a basic structure:

This then can be used like:

Example #1: Custom Component Part Type

This enables any custom JavaScript logic to hook itself into any stage of the Component's lifecycle: