ModuleJS class

An abstract module intended as a base for modules needing to autoload JS or CSS files.

If you extend this, double check that the default isSingular() and isAutoload() methods are doing what you want -- you may want to override them.

See the Module interface (Module.php) for details about each method.

This file is licensed under the MIT license


Click any linked item for full usage details and examples. Hookable methods are indicated with the icon. In addition to those shown below, the ModuleJS class also inherits all the methods and properties of: WireData and Wire.

Show class?     Show args?       Only hookable?    

Additional methods and properties

In addition to the methods and properties above, ModuleJS also inherits the methods and properties of these classes:

API reference based on ProcessWire core version 3.0.251