[Pas2js] requestAnimationFrame

Ryan Joseph ryan at thealchemistguild.com
Tue May 15 14:53:01 CEST 2018



> On May 15, 2018, at 6:27 PM, warleyalex via Pas2js <pas2js at lists.freepascal.org> wrote:
> 
> The definition is missing from the Web.pas
> 
> type
>  TFrameRequestCallback = procedure (aTime: Double);
> 
>  TJSWindow = class external name 'Window' (TJSObject)
>  public
>  { public methods }
>    function requestAnimationFrame(aCallback: TFrameRequestCallback):
> Integer;
>    procedure cancelAnimationFrame(aHandle: Integer);
>  end;

Thanks. They need to add that in I guess.

Regards,
	Ryan Joseph



More information about the Pas2js mailing list