visualRuns()
function visualRuns(text, base): VisualRun[];Reorders one line of text for display and returns runs of uniform level in visual order, each with its characters already in visual order. Bidi controls are removed.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
text |
string |
base |
BaseDirection |