mirror of
https://gitlab.com/freepascal.org/fpc/pas2js.git
synced 2025-08-26 14:50:16 +02:00
* Add getSelection to window
This commit is contained in:
parent
7a2fcdcb1f
commit
d7d8abff2c
@ -1520,6 +1520,7 @@ TEventListenerEvent = class external name 'EventListener_Event' (TJSObject)
|
|||||||
procedure focus;
|
procedure focus;
|
||||||
Function getComputedStyle(aElement : TJSElement) : TJSCSSStyleDeclaration; overload;
|
Function getComputedStyle(aElement : TJSElement) : TJSCSSStyleDeclaration; overload;
|
||||||
Function getComputedStyle(aElement,aPseudoElement : TJSElement) : TJSCSSStyleDeclaration; overload;
|
Function getComputedStyle(aElement,aPseudoElement : TJSElement) : TJSCSSStyleDeclaration; overload;
|
||||||
|
function getSelection : TJSSelection;
|
||||||
function matchMedia(aQuery : String) : TJSMediaQueryList;
|
function matchMedia(aQuery : String) : TJSMediaQueryList;
|
||||||
procedure moveBy(x,y : NativeInt);
|
procedure moveBy(x,y : NativeInt);
|
||||||
procedure moveTo(x,y : NativeInt);
|
procedure moveTo(x,y : NativeInt);
|
||||||
@ -2994,6 +2995,7 @@ TEventListenerEvent = class external name 'EventListener_Event' (TJSObject)
|
|||||||
function takeRecords: TJSMutationRecordArray;
|
function takeRecords: TJSMutationRecordArray;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
|
||||||
{ --------------------------------------------------------------------
|
{ --------------------------------------------------------------------
|
||||||
TJSWebSocket
|
TJSWebSocket
|
||||||
--------------------------------------------------------------------}
|
--------------------------------------------------------------------}
|
||||||
|
Loading…
Reference in New Issue
Block a user