Get Started
Plugins
Macros
More information

window.Asc.plugin.loadModule (url, callback)

Description

Defines the method used to load a remotely located text resource.

Parameters
Name Description Type
url The resource code url. string
callback The result that the method returns. function
Example
window.Asc.plugin.loadModule("./vendor/highlight/styles/" + e.params.data.id , function(content) {
    style_value = content;
    if (isDE || isFF) {
        $("#jq_color").spectrum("set", (hexc($(container).css('backgroundColor'))));
    } else {
        background_color.value = hexc($(container).css('backgroundColor'));
    }
});