[Pas2js] Question/idea regarding DOM_HTML for Pas2JS
silvioprog
silvioprog at gmail.com
Wed Dec 19 22:07:07 CET 2018
On Wed, Dec 19, 2018 at 5:57 PM warleyalex via Pas2js <
pas2js at lists.freepascal.org> wrote:
> The HTML5 external classes declarations is located at web.pas unit.
>
> THTMLSelect = class external name 'HTMLSelectElement' (TJSElement)
> rather than
> TJSHTMLSelectElement = Class external name 'HTMLSelectElement'
> (TJSHTMLElement)
>
Oh, I didn't see this type. :-o
Thanks for showing it.
> ...but there are some missing external definitions/declarations at the
> web.pas, such as
>
> type
> TSJHTMLTemplateElement = class external name 'HTMLTemplateElement'
> (TJSHTMLElement)
> public
> content: TJSDocumentFragment;
> end;
>
> and others missing such
>
> TJSHTMLButtonElement = class external name 'HTMLButtonElement'
> (TJSHTMLElement)
>
We can send the ones that are missing. :-)
> I prefer a "big" web.pas unit with all HTML5 definitions.
Me too.
--
Silvio Clécio
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/pas2js/attachments/20181219/728f70ae/attachment.html>
More information about the Pas2js
mailing list