| Modifier and Type | Field and Description |
|---|---|
static String |
IS_RTL_MODULE_ALIAS
The name used as an alias for importing a module containing the bidiIsRtlFn.
|
| Modifier and Type | Method and Description |
|---|---|
static BidiGlobalDir |
decodeBidiGlobalDirFromJsOptions(int bidiGlobalDir,
boolean useGoogIsRtlForBidiGlobalDir)
Decodes the bidi global directionality from the usual command line options used to specify it.
|
static BidiGlobalDir |
decodeBidiGlobalDirFromPyOptions(String bidiIsRtlFn)
Decodes bidi global directionality from the Python bidiIsRtlFn command line option.
|
public static final String IS_RTL_MODULE_ALIAS
public static BidiGlobalDir decodeBidiGlobalDirFromJsOptions(int bidiGlobalDir, boolean useGoogIsRtlForBidiGlobalDir)
bidiGlobalDir - 1: ltr, -1: rtl, 0: unspecified.useGoogIsRtlForBidiGlobalDir - Whether to determine the bidi global direction at template
runtime by evaluating goog.i18n.bidi.IS_RTL.public static BidiGlobalDir decodeBidiGlobalDirFromPyOptions(String bidiIsRtlFn)
bidiIsRtlFn - The string containing the full module path and function name.