mirror of
https://gitlab.com/freepascal.org/fpc/pas2js.git
synced 2025-04-10 20:47:58 +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;
|
||||
Destructor Destroy; override;
|
||||
Procedure Clear;
|
||||
Procedure Bind;
|
||||
Function IndexOfElementID(aID : String; StartAt : Integer = 0) : Integer;
|
||||
Function FindActionByElementID(aID : String; StartAt : Integer = 0) : THTMLCustomElementAction;
|
||||
Function GetActionsForElementID(aID : String) : THTMLCustomElementActionArray;
|
||||
@ -241,6 +242,16 @@ begin
|
||||
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;
|
||||
StartAt: Integer): Integer;
|
||||
begin
|
||||
|
Loading…
Reference in New Issue
Block a user