dojox/mobile/bidi/common (version 1.10)

See the dojox/mobile/bidi/common reference documentation for more information.

Property Summary

Method Summary

Properties

MARK

Methods

enforceTextDirWithUcc(text,textDir)

Wraps by UCC (Unicode control characters) displayed text according to textDir.

There's a dir problem with some HTML elements. For some Android browsers Hebrew text is displayed right to left also when dir is set to LTR. Therefore the only solution is to use UCC to display the text in correct orientation.

Parameter Type Description
text undefined

The text to be wrapped.

textDir undefined

Text direction.

Returns:string | undefined
removeUCCFromText(text)

Removes UCC from input string.

Parameter Type Description
text undefined

The text to be stripped from UCC.

Returns:undefined
setTextDirForButtons(widget)

Sets textDir property to children.

Parameter Type Description
widget undefined

parent widget

Error in the documentation? Can’t find what you are looking for? Let us know!