ModuleJS::addComponent()
Add an optional component that can be used with this module
Usage
$moduleJS->addComponent(string $name, string $file);Arguments
| Name | Type(s) | Description |
|---|---|---|
$name | string | |
$file | string |
Return value
$thisObject instance it was called from (method supports fluent interface).
ModuleJS methods and properties
API reference based on ProcessWire core version 3.0.255