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