RTL Support

7 Jun 20171 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.

  • HTML
  • <div style="width:100px;height:35px;">
    
    	<ej-uploadbox id="UploadDefault" [saveUrl]="saveURL" [removeUrl]="removeURL" [enableRTL]="true"></ej-uploadbox>
    
    </div>
  • HTML
  • 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.