Registers filter functions on a template.
- Source:
Methods
-
(static) registerFilter(name, callback)
-
Registers a filter on the template object.
Parameters:
Name Type Description namestring The name to register. callbackfunction The callback to trigger for the filter. - Source: