main
Last change
on this file was 79a0317, checked in by stefan toskovski <stefantoska84@…>, 4 days ago |
F4 Finalna Verzija
|
-
Property mode
set to
100644
|
File size:
722 bytes
|
Rev | Line | |
---|
[79a0317] | 1 | import { DOMParser } from './types';
|
---|
| 2 | interface IConfig {
|
---|
| 3 | /**
|
---|
| 4 | * XML/HTML parser from string into DOM Document.
|
---|
| 5 | */
|
---|
| 6 | DOMParser?: DOMParser;
|
---|
| 7 | }
|
---|
| 8 | /**
|
---|
| 9 | * Options preset for `OffscreenCanvas`.
|
---|
| 10 | * @param config - Preset requirements.
|
---|
| 11 | * @param config.DOMParser - XML/HTML parser from string into DOM Document.
|
---|
| 12 | * @returns Preset object.
|
---|
| 13 | */
|
---|
| 14 | export declare function offscreen({ DOMParser: DOMParserFallback }?: IConfig): {
|
---|
| 15 | window: null;
|
---|
| 16 | ignoreAnimation: boolean;
|
---|
| 17 | ignoreMouse: boolean;
|
---|
| 18 | DOMParser: DOMParser;
|
---|
| 19 | createCanvas(width: number, height: number): OffscreenCanvas;
|
---|
| 20 | createImage(url: string): Promise<ImageBitmap>;
|
---|
| 21 | };
|
---|
| 22 | export {};
|
---|
| 23 | //# sourceMappingURL=offscreen.d.ts.map |
---|
Note:
See
TracBrowser
for help on using the repository browser.