Selection.selectionLanguageChange()

  • Revision slug: Web/API/Selection.selectionLanguageChange
  • Revision title: Selection.selectionLanguageChange()
  • Revision id: 475499
  • Created:
  • Creator: kscarfone
  • Is current revision? Yes
  • Comment Updated tags

Revision Content

{{ DomRef() }}

Summary

Modifies the cursor Bidi level after a change in keyboard direction.

Syntax

sel.selectionLanguageChange(langRTL)

Parameters

langRTL
PR_TRUE if the new language is right-to-left or PR_FALSE if the new language is left-to-right.

Revision Source

<p>{{ DomRef() }}</p>
<h3 id="Summary" name="Summary">Summary</h3>
<p>Modifies the cursor Bidi level after a change in keyboard direction.</p>
<h3 id="Syntax" name="Syntax">Syntax</h3>
<pre class="eval">
<em>sel</em>.selectionLanguageChange(<em>langRTL</em>)
</pre>
<h3 id="Parameters" name="Parameters">Parameters</h3>
<dl>
  <dt>
    langRTL</dt>
  <dd>
    PR_TRUE if the new language is right-to-left or PR_FALSE if the new language is left-to-right.</dd>
</dl>
Revert to this revision