mirror of
https://gitlab.com/freepascal.org/fpc/pas2js.git
synced 2025-09-14 22:49:59 +02:00
* Add getHTMLElementById alias to document class
This commit is contained in:
parent
65e1e2b4ce
commit
e22d53612b
@ -23,6 +23,7 @@ uses Types, JS;
|
||||
Type
|
||||
TJSEvent = Class;
|
||||
// Forward definitions
|
||||
TJSHTMLElement = Class;
|
||||
TJSWindow = class;
|
||||
TJSDOMTokenList = class;
|
||||
TJSXPathResult = CLass;
|
||||
@ -907,6 +908,7 @@ TEventListenerEvent = class external name 'EventListener_Event' (TJSObject)
|
||||
function execCommand(aCommandName : String; aShowDefaultUI : Boolean) : boolean; overload;
|
||||
Procedure exitFullScreen;
|
||||
function getElementById(aID : String) : TJSElement;
|
||||
function getHTMLElementById(aID : String) : TJSHTMLElement; external name 'getElementById';
|
||||
function getElementsByClassName(aNames : string) : TJSHTMLCollection;
|
||||
function getElementsByName(aName : String) : TJSNodeList;
|
||||
function getElementsByTagName(aName : String) : TJSHTMLCollection;
|
||||
|
Loading…
Reference in New Issue
Block a user