forked from umakantp/jsmart
-
Notifications
You must be signed in to change notification settings - Fork 2
registerPlugin
pfaciana edited this page Sep 25, 2019
·
2 revisions
void Latte.prototype.registerPlugin(type, name, callback)
This method registers functions or methods defined in your script as plugin. It uses the following parameters:
- type defines the type of the plugin. Valid values are "function", "block" or "modifier"
- name defines the name of the plugin.
- callback defines the JavaScript callback function