mirror of
https://gitlab.com/freepascal.org/fpc/pas2js.git
synced 2025-08-18 15:39:05 +02:00
* Add bind call to list
This commit is contained in:
parent
14c840b2fd
commit
b7396548f4
@ -122,6 +122,7 @@ Type
|
|||||||
Constructor Create(aOwner : TComponent); override;
|
Constructor Create(aOwner : TComponent); override;
|
||||||
Destructor Destroy; override;
|
Destructor Destroy; override;
|
||||||
Procedure Clear;
|
Procedure Clear;
|
||||||
|
Procedure Bind;
|
||||||
Function IndexOfElementID(aID : String; StartAt : Integer = 0) : Integer;
|
Function IndexOfElementID(aID : String; StartAt : Integer = 0) : Integer;
|
||||||
Function FindActionByElementID(aID : String; StartAt : Integer = 0) : THTMLCustomElementAction;
|
Function FindActionByElementID(aID : String; StartAt : Integer = 0) : THTMLCustomElementAction;
|
||||||
Function GetActionsForElementID(aID : String) : THTMLCustomElementActionArray;
|
Function GetActionsForElementID(aID : String) : THTMLCustomElementActionArray;
|
||||||
@ -241,6 +242,16 @@ begin
|
|||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
procedure THTMLCustomElementActionList.Bind;
|
||||||
|
|
||||||
|
Var
|
||||||
|
I : Integer;
|
||||||
|
|
||||||
|
begin
|
||||||
|
For I:=0 to ActionCount-1 do
|
||||||
|
Actions[I].Bind;
|
||||||
|
end;
|
||||||
|
|
||||||
function THTMLCustomElementActionList.IndexOfElementID(aID: String;
|
function THTMLCustomElementActionList.IndexOfElementID(aID: String;
|
||||||
StartAt: Integer): Integer;
|
StartAt: Integer): Integer;
|
||||||
begin
|
begin
|
||||||
|
Loading…
Reference in New Issue
Block a user