[Pas2js] Question/idea regarding DOM_HTML for Pas2JS

silvioprog silvioprog at gmail.com
Wed Dec 19 22:25:19 CET 2018


On Wed, Dec 19, 2018 at 6:07 PM silvioprog <silvioprog at gmail.com> wrote:

> 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'm going to send two:

TJSHTMLButtonElement
TJSHTMLEmbedElement

and I'll send the rest as soon as I use them.

--
Silvio Clécio
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/pas2js/attachments/20181219/f816d2d6/attachment.html>


More information about the Pas2js mailing list