Skip to content

Commit

Permalink
feat(theme): add isRTL method
Browse files Browse the repository at this point in the history
  • Loading branch information
Enlcxx committed Dec 22, 2021
1 parent a40363f commit daf22fe
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/lib/src/style-utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,10 @@ export class LyStyleUtils {
}
return val;
}

isRTL() {
return this.direction === Dir.rtl;
}
}

export enum Dir {
Expand Down

0 comments on commit daf22fe

Please sign in to comment.