define

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

void define(string| WebixViewConfig property, [any value] );
propertystring| WebixViewConfigthe property name or a object with properties that need redefining
valueanythe new property value (has to be specified when defining the property as a string)

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.