[Pas2js] Question/idea regarding DOM_HTML for Pas2JS
silvioprog
silvioprog at gmail.com
Wed Dec 19 18:57:35 CET 2018
Hi.
I've declared the DOM elements by hand, for example: "THTMLSelect = class
external name 'HTMLSelectElement' (TJSElement) ...". However, this task is
very tedious, plus the chance of forgetting to declare some property.
So, I have a question. What do you think to port or start something
like DOM_HTML for Pas2JS? If you agree, we could add a unit called "WebAPI"
to follow the Mozilla standards. For example, notice the URL levels of the
HTMLSelectElement
<https://developer.mozilla.org/en-US/docs/Web/API/HTMLSelectElement/selectedOptions>
.
Kind regards,
--
Silvio Clécio
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/pas2js/attachments/20181219/a28d3b37/attachment.html>
More information about the Pas2js
mailing list