[Pas2js] is it a bug fro pas2js?

warleyalex warleyalex at yahoo.com.br
Sat Aug 17 15:04:52 CEST 2019


Exactly. I think it is a bug.

HTML DOM events allow JavaScript to register different event handlers on
elements in an HTML document. 
I think these events, for instance:
 
oninput :  TJSEventhandler; 

should be declared to another type:

oninput :  TJSRawEventHandler; 

procedure OnInput(aEvent: TJSEvent);
begin
  console.log(aEvent.target);
end;
         




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


More information about the Pas2js mailing list