"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/cdk/bidi/bidi.md" between
material2-7.3.2.tar.gz and material2-7.3.3.tar.gz

About: material2 offers Material Design components for Angular.

bidi.md  (material2-7.3.2):bidi.md  (material2-7.3.3)
skipping to change at line 23 skipping to change at line 23
/** Whether the widget is in RTL mode or not. */ /** Whether the widget is in RTL mode or not. */
private isRtl: boolean; private isRtl: boolean;
/** Subscription to the Directionality change EventEmitter. */ /** Subscription to the Directionality change EventEmitter. */
private _dirChangeSubscription = Subscription.EMPTY; private _dirChangeSubscription = Subscription.EMPTY;
constructor(dir: Directionality) { constructor(dir: Directionality) {
this.isRtl = dir.value === 'rtl'; this.isRtl = dir.value === 'rtl';
_dirChangeSubscription = dir.change.subscribe(() => { this._dirChangeSubscription = dir.change.subscribe(() => {
this.flipDirection(); this.flipDirection();
}); });
} }
ngOnDestroy() { ngOnDestroy() {
this._dirChangeSubscription.unsubscribe(); this._dirChangeSubscription.unsubscribe();
} }
} }
``` ```
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)