<ejs-filemanager id='default-filemanager' #filemanagerObj [ajaxSettings]='ajaxSettings'>
</ejs-filemanager>
|
public hostUrl : string = 'https://ej2services.syncfusion.com/production/web-services/'; public ajaxSettings : object = { url : this.hostUrl + 'api/FileManager/FileOperations', getImageUrl : this.hostUrl + 'api/FileManager/GetImage' }; |
onChange() {
if (this.data > 0) {
this.filemanagerInstance.ajaxSettings.url = 'https://ej2services.syncfusion.com/production/web-services/api/AzureFileManager/AzureFileoperations'
}
} |