##// END OF EJS Templates
added 'dom-inject' and 'css' modules
added 'dom-inject' and 'css' modules

File last commit:

r2:8ec37bf1b4d1 default
r6:5cc84d1fc7c0 default
Show More
_BidiSupport.d.ts
28 lines | 841 B | video/mp2t | TypeScriptLexer
import _WidgetBase = require("./_WidgetBase");
declare module "./_WidgetBase" {
interface _WidgetBase {
/**
* 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;
}
}
export = _WidgetBase;