| 1 |
## API Report File for "@lumino/domutils" |
| 2 |
|
| 3 |
> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/). |
| 4 |
|
| 5 |
```ts |
| 6 |
|
| 7 |
// @public |
| 8 |
export namespace ClipboardExt { |
| 9 |
export function copyText(text: string): void; |
| 10 |
} |
| 11 |
|
| 12 |
// @public |
| 13 |
export namespace ElementExt { |
| 14 |
export function boxSizing(element: Element): IBoxSizing; |
| 15 |
export function hitTest(element: Element, clientX: number, clientY: number): boolean; |
| 16 |
export interface IBoxSizing { |
| 17 |
borderBottom: number; |
| 18 |
borderLeft: number; |
| 19 |
borderRight: number; |
| 20 |
borderTop: number; |
| 21 |
horizontalSum: number; |
| 22 |
paddingBottom: number; |
| 23 |
paddingLeft: number; |
| 24 |
paddingRight: number; |
| 25 |
paddingTop: number; |
| 26 |
verticalSum: number; |
| 27 |
} |
| 28 |
export interface ISizeLimits { |
| 29 |
maxHeight: number; |
| 30 |
maxWidth: number; |
| 31 |
minHeight: number; |
| 32 |
minWidth: number; |
| 33 |
} |
| 34 |
export function scrollIntoViewIfNeeded(area: Element, element: Element): void; |
| 35 |
export function sizeLimits(element: Element): ISizeLimits; |
| 36 |
} |
| 37 |
|
| 38 |
// @public |
| 39 |
export namespace Platform { |
| 40 |
const IS_MAC: boolean; |
| 41 |
const IS_WIN: boolean; |
| 42 |
const IS_IE: boolean; |
| 43 |
const IS_EDGE: boolean; |
| 44 |
export function accelKey(event: KeyboardEvent | MouseEvent): boolean; |
| 45 |
} |
| 46 |
|
| 47 |
// @public |
| 48 |
export namespace Selector { |
| 49 |
export function calculateSpecificity(selector: string): number; |
| 50 |
export function isValid(selector: string): boolean; |
| 51 |
export function matches(element: Element, selector: string): boolean; |
| 52 |
} |
| 53 |
|
| 54 |
``` |