Documentation

require

includes and caches a Javascript module

void require(string url);

Parameters

urlstringthe path to a Javascript file

Example

webix.require("extras.js");

Details

The method is called only once. If you try to include the same module the second time - the command will be ignored.

Back to top