Stay organized with collections
Save and categorize content based on your preferences.
blockly > Field > getFlipRtl
Field.getFlipRtl() method
Returns whether or not we should flip the field in RTL.
Signature:
getFlipRtl(): boolean;
Returns:
boolean
True if we should flip in RTL.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-09-18 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-09-18 UTC."],[[["\u003cp\u003eThe \u003ccode\u003egetFlipRtl()\u003c/code\u003e method determines whether a field should be flipped in a right-to-left (RTL) layout.\u003c/p\u003e\n"],["\u003cp\u003eThis method returns \u003ccode\u003etrue\u003c/code\u003e if the field should be flipped in RTL, and \u003ccode\u003efalse\u003c/code\u003e otherwise, helping to ensure proper rendering in RTL contexts.\u003c/p\u003e\n"]]],["The `getFlipRtl()` method, part of the `Field` class, determines if a field should be flipped when displayed in right-to-left (RTL) languages. It's a boolean method that returns `true` if the field should be flipped in RTL and `false` otherwise. The method's purpose is to handle the visual orientation of a field based on the language directionality.\n"],null,["[blockly](./blockly.md) \\\u003e [Field](./blockly.field_class.md) \\\u003e [getFlipRtl](./blockly.field_class.getfliprtl_1_method.md)\n\nField.getFlipRtl() method\n-------------------------\n\nReturns whether or not we should flip the field in RTL.\n\n**Signature:** \n\n getFlipRtl(): boolean;\n\n**Returns:**\n\nboolean\n\nTrue if we should flip in RTL."]]