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
    Join Our Forum
    We've retired comments here. Visit our forum for faster technical support, connect with other developers, and share your feedback there.
    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.