define

redefines a single configuration property (or a object with properties)

void define(string property,any value);

Parameters

propertystringthe property name or a object with properties that need redefining
valueanythe new property value

Example

// changes the name of the downloaded file 
$$('pdfviewer').define("downloadName","NewFile1");
 
// changes multiple properties at once
$$('pdfviewer').define({
    downloadName:"NewFile1",
    toolbar:"toolbar1"
});

Related samples

    See also
    Back to top
    If you have not checked yet, be sure to visit site of our main product Webix javascript website framework and page of pdf viewer library product.