Outlook_Addin_LLM/node_modules/@fluentui/utilities/lib-amd/rtl.d.ts

17 lines
489 B
TypeScript
Raw Permalink Normal View History

/**
* Gets the rtl state of the page (returns true if in rtl.)
*/
export declare function getRTL(theme?: {
rtl?: boolean;
}): boolean;
/**
* Sets the rtl state of the page (by adjusting the dir attribute of the html element.)
*/
export declare function setRTL(isRTL: boolean, persistSetting?: boolean): void;
/**
* Returns the given key, but flips right/left arrows if necessary.
*/
export declare function getRTLSafeKeyCode(key: number, theme?: {
rtl?: boolean;
}): number;