RTL Support in EJ 1 Angular Uploadbox
7 Jun 2017 / 1 minute to read
This feature supports the change of left-to-right alignment of the Uploadbox widget to right-to-left (RTL). That is, it sets the Uploadbox to right-to-left actions.
he following code helps you for the configuration of enableRTL property in Uploadbox.
<div style="width:100px;height:35px;">
<ej-uploadbox id="UploadDefault" [saveUrl]="saveURL" [removeUrl]="removeURL" [enableRTL]="true"></ej-uploadbox>
</div>
import {Component} from '@angular/core';
@Component({
selector: 'ej-app',
templateUrl: 'app/components/uploadbox/uploadbox.component.html'
})
export class UploadBoxComponent {
saveURL:string;
removeURL:string;
constructor() {
this.saveURL = '../saveFiles.ashx';
this.saveURL = '../removeFiles.ashx';
}
}
Configure saveFiles.ashx and removeFiles.ashx files as mentioned in the Save file action and Remove file action respectively.
The following screenshot displays the output.
Was this page helpful?
Yes
No
Thank you for your feedback!
Thank you for your feedback and comments. We will rectify this as soon as possible!
An unknown error has occurred. Please try again.
Help us improve this page