Contact Support
RTL Support in AngularJS Uploadbox
19 Apr 20231 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.
The following steps explain the configuration of enableRTL property in Uploadbox.
In the HTML page, add the <div> element to configure the Uploadbox element.
<div class="control">
<div id="Uploadbox" ej-uploadbox e-saveurl="save" e-removeurl="remove" e-enablertl="true"></div>
</div>
angular.module('UploadboxApp', ['ejangular'])
.controller('UploadboxCtrl', function ($scope) {
$scope.save = "saveFiles.ashx";
$scope.remove= "removeFiles.ashx";
});
For JS, 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.