File tree Expand file tree Collapse file tree 3 files changed +5
-3
lines changed
projects/igniteui-angular/src/lib Expand file tree Collapse file tree 3 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -106,8 +106,6 @@ All notable changes for each version of this project will be documented in this
106106 @include igx-progress-circular($theme);
107107 ```
108108 - RTL support
109- - `IgxLinearProgressBar`:
110- - RTL support
111109
112110## 8.2.6
113111
Original file line number Diff line number Diff line change @@ -762,7 +762,7 @@ export class IgxCircularProgressBarComponent extends BaseProgress implements Aft
762762 }
763763
764764 private getProgress ( percentage : number ) {
765- return this . _directionality . value === ' rtl' ?
765+ return this . _directionality . rtl ?
766766 this . _circumference + ( percentage * this . _circumference / 100 ) :
767767 this . _circumference - ( percentage * this . _circumference / 100 ) ;
768768 }
Original file line number Diff line number Diff line change @@ -50,6 +50,10 @@ export class IgxDirectionality {
5050 return this . _document ;
5151 }
5252
53+ public get rtl ( ) {
54+ return this . _dir === 'rtl' ;
55+ }
56+
5357 constructor ( @Inject ( DIR_DOCUMENT ) document ) {
5458 this . _document = < Document > document ;
5559 const bodyDir = this . _document . body ? this . _document . body . dir : null ;
You can’t perform that action at this time.
0 commit comments