* Add getSelection to window

This commit is contained in:
Michaël Van Canneyt 2023-07-08 12:25:45 +02:00
parent 7a2fcdcb1f
commit d7d8abff2c

View File

@ -1520,6 +1520,7 @@ TEventListenerEvent = class external name 'EventListener_Event' (TJSObject)
procedure focus;
Function getComputedStyle(aElement : TJSElement) : TJSCSSStyleDeclaration; overload;
Function getComputedStyle(aElement,aPseudoElement : TJSElement) : TJSCSSStyleDeclaration; overload;
function getSelection : TJSSelection;
function matchMedia(aQuery : String) : TJSMediaQueryList;
procedure moveBy(x,y : NativeInt);
procedure moveTo(x,y : NativeInt);
@ -2994,6 +2995,7 @@ TEventListenerEvent = class external name 'EventListener_Event' (TJSObject)
function takeRecords: TJSMutationRecordArray;
end;
{ --------------------------------------------------------------------
TJSWebSocket
--------------------------------------------------------------------}