|
@@ -23,6 +23,7 @@ uses Types, JS;
|
|
Type
|
|
Type
|
|
TJSEvent = Class;
|
|
TJSEvent = Class;
|
|
// Forward definitions
|
|
// Forward definitions
|
|
|
|
+ TJSHTMLElement = Class;
|
|
TJSWindow = class;
|
|
TJSWindow = class;
|
|
TJSDOMTokenList = class;
|
|
TJSDOMTokenList = class;
|
|
TJSXPathResult = CLass;
|
|
TJSXPathResult = CLass;
|
|
@@ -907,6 +908,7 @@ TEventListenerEvent = class external name 'EventListener_Event' (TJSObject)
|
|
function execCommand(aCommandName : String; aShowDefaultUI : Boolean) : boolean; overload;
|
|
function execCommand(aCommandName : String; aShowDefaultUI : Boolean) : boolean; overload;
|
|
Procedure exitFullScreen;
|
|
Procedure exitFullScreen;
|
|
function getElementById(aID : String) : TJSElement;
|
|
function getElementById(aID : String) : TJSElement;
|
|
|
|
+ function getHTMLElementById(aID : String) : TJSHTMLElement; external name 'getElementById';
|
|
function getElementsByClassName(aNames : string) : TJSHTMLCollection;
|
|
function getElementsByClassName(aNames : string) : TJSHTMLCollection;
|
|
function getElementsByName(aName : String) : TJSNodeList;
|
|
function getElementsByName(aName : String) : TJSNodeList;
|
|
function getElementsByTagName(aName : String) : TJSHTMLCollection;
|
|
function getElementsByTagName(aName : String) : TJSHTMLCollection;
|