[Pas2js] addEventListener and IE-specific Methods
Michael Van Canneyt
michael at freepascal.org
Sun Jan 21 22:32:29 CET 2018
On Sun, 21 Jan 2018, warleyalex via Pas2js wrote:
> I have to modify the Web unit, for instance
I think you better make a descendent of these classes that is specific to IE.
I have not yet found a good approach to cater for browser specific events.
I have tried with {$IFDEF}, but that is only good till we have compiled
units. After that, it will also no longer work.
But till we have a good solution, the web unit must contain the lowest common denominator.
Michael.
More information about the Pas2js
mailing list