mirror of
https://gitlab.com/freepascal.org/fpc/pas2js.git
synced 2025-09-10 23:09:07 +02:00
* Window descends from globalscope
This commit is contained in:
parent
166a88e929
commit
5f495b670b
@ -1503,7 +1503,7 @@ Type
|
|||||||
|
|
||||||
{ TJSWindow }
|
{ TJSWindow }
|
||||||
|
|
||||||
TJSWindow = class external name 'Window' (TJSObject)
|
TJSWindow = class external name 'Window' (TWindowOrWorkerGlobalScope)
|
||||||
Private
|
Private
|
||||||
FClosed: boolean; external name 'closed';
|
FClosed: boolean; external name 'closed';
|
||||||
FConsole : TJSConsole; external name 'console';
|
FConsole : TJSConsole; external name 'console';
|
||||||
@ -1661,6 +1661,7 @@ Type
|
|||||||
function showSaveFilePicker: TJSFileSystemFileHandle; async; overload;
|
function showSaveFilePicker: TJSFileSystemFileHandle; async; overload;
|
||||||
function showSaveFilePicker(options: TJSShowSaveFilePickerOptions): TJSFileSystemFileHandle; async; overload;
|
function showSaveFilePicker(options: TJSShowSaveFilePickerOptions): TJSFileSystemFileHandle; async; overload;
|
||||||
function FileSystemDirectoryHandle: TJSFileSystemDirectoryHandleArray; async;
|
function FileSystemDirectoryHandle: TJSFileSystemDirectoryHandleArray; async;
|
||||||
|
|
||||||
{ public properties }
|
{ public properties }
|
||||||
property console : TJSConsole Read FConsole;
|
property console : TJSConsole Read FConsole;
|
||||||
property closed : boolean read FClosed;
|
property closed : boolean read FClosed;
|
||||||
@ -2449,6 +2450,7 @@ Type
|
|||||||
Function toDataURL : String; overload;
|
Function toDataURL : String; overload;
|
||||||
Function toDataURL(aMimeType : String) : String; overload;
|
Function toDataURL(aMimeType : String) : String; overload;
|
||||||
Function toDataURL(aMimeType : String; aQuality : Double) : String; overload;
|
Function toDataURL(aMimeType : String; aQuality : Double) : String; overload;
|
||||||
|
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user