[Pas2js] requestAnimationFrame

warleyalex warleyalex at yahoo.com.br
Tue May 15 13:27:20 CEST 2018


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;



--
Sent from: http://pas2js.38893.n8.nabble.com/


More information about the Pas2js mailing list