mirror of
https://gitlab.com/freepascal.org/fpc/pas2js.git
synced 2025-08-22 01:20:28 +02:00
* Add replaceChildren. Fixes issue #39282
This commit is contained in:
parent
18a40f92ee
commit
02455161f4
@ -413,6 +413,10 @@ Type
|
|||||||
procedure removeAttribute(aName: string);
|
procedure removeAttribute(aName: string);
|
||||||
procedure removeAttributeNS(aNameSpace,aName: string);
|
procedure removeAttributeNS(aNameSpace,aName: string);
|
||||||
function removeAttributeNode(aAttr : TJSAttr) : TJSAttr;
|
function removeAttributeNode(aAttr : TJSAttr) : TJSAttr;
|
||||||
|
procedure replaceChildren; overload;
|
||||||
|
procedure replaceChildren(aNode : TJSNode); overload;
|
||||||
|
procedure replaceChildren(aNode1,aNode2 : TJSNode); overload;
|
||||||
|
procedure replaceChildren(aNode1,aNode2,aNode3 : TJSNode); overload; varargs;
|
||||||
procedure setAttribute(aName : string; AValue : String);
|
procedure setAttribute(aName : string; AValue : String);
|
||||||
function setAttributeNode(aNode: TJSAttr) : TJSAttr;
|
function setAttributeNode(aNode: TJSAttr) : TJSAttr;
|
||||||
function setAttributeNodeNS(aNode: TJSAttr) : TJSAttr;
|
function setAttributeNodeNS(aNode: TJSAttr) : TJSAttr;
|
||||||
|
Loading…
Reference in New Issue
Block a user