##// END OF EJS Templates
Changed @djclass decorator to support legacy dojo versions (<1.15)
Changed @djclass decorator to support legacy dojo versions (<1.15)

File last commit:

r2:8ec37bf1b4d1 default
r11:5a2c44d8e1f3 v1.0.0-rc5 default
Show More
_BidiMixin.d.ts
27 lines | 800 B | video/mp2t | TypeScriptLexer
cin
created typings for basic part of dojo and dijit further work is required to...
r2 import { DeclareConstructor } from "dojo/_base/declare";
interface _BidiMixin {
/**
* Gets the right direction of text.
*/
getTextDir(text: string): string;
/**
* Set element.dir according to this.textDir, assuming this.textDir has a value.
*/
applyTextDir(element: HTMLElement, text?: string): void;
/**
* Wraps by UCC (Unicode control characters) option's text according to this.textDir
*/
enforceTextDirWithUcc(option: HTMLOptionElement, text: string): string;
/**
* Restores the text of origObj, if needed, after enforceTextDirWithUcc, e.g. set("textDir", textDir).
*/
restoreOriginalText(origObj: HTMLOptionElement): HTMLOptionElement;
}
declare const _BidiMixin: DeclareConstructor<_BidiMixin>;
export = _BidiMixin;