Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions website/versioned_docs/version-0.81/i18nmanager.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,12 @@ static doLeftAndRightSwapInRTL: boolean;

A boolean value indicating whether left and right style properties should be automatically swapped when in RTL mode. When enabled, left becomes right and right becomes left in RTL layouts.

**Important Notes:**

- doLeftAndRightSwapInRTL is `true` by default. This can be set to `false` with `swapLeftAndRightinRTL()`.
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is quite implicit from the sentence above that swap is enabled by default. I think we can skip that point, or just alter the sentence above.

- Does only affect `marginLeft` / `marginRight` / `paddingLeft` / `paddingRight` / `borderLeftWidth` / `borderRightWidth`
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you provide a code reference for this enumeration? Are you sure that's those are the only affected style props?

- Does not affect position (relative/absolute) `left` / `right`

## Methods

### `allowRTL()`
Expand Down