mirror of
https://gitlab.com/freepascal.org/fpc/pas2js.git
synced 2025-08-22 07:09:38 +02:00
* Trigger onrender after all clients handled render
This commit is contained in:
parent
16327ebaf1
commit
19ca444485
@ -279,11 +279,11 @@ Var
|
|||||||
aClient : IFragmentClient;
|
aClient : IFragmentClient;
|
||||||
|
|
||||||
begin
|
begin
|
||||||
if Assigned(FOnRendered) then
|
|
||||||
FOnRendered(Self);
|
|
||||||
For I:=0 to ComponentCount-1 do
|
For I:=0 to ComponentCount-1 do
|
||||||
if Supports(Components[i],IFRagmentClient,aClient) then
|
if Supports(Components[i],IFRagmentClient,aClient) then
|
||||||
aClient.HTMLRendered;
|
aClient.HTMLRendered;
|
||||||
|
if Assigned(FOnRendered) then
|
||||||
|
FOnRendered(Self);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
procedure TCustomHTMLFragment.DoOnUnRender;
|
procedure TCustomHTMLFragment.DoOnUnRender;
|
||||||
|
Loading…
Reference in New Issue
Block a user