[Pas2js] requestAnimationFrame
Michael Van Canneyt
michael at freepascal.org
Tue May 15 14:58:09 CEST 2018
On Tue, 15 May 2018, Ryan Joseph wrote:
>
>
>> 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.
I will.
Michael.
More information about the Pas2js
mailing list