[Pas2js] Question/idea regarding DOM_HTML for Pas2JS

warleyalex warleyalex at yahoo.com.br
Wed Dec 19 21:57:18 CET 2018


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)

...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)

I prefer a "big" web.pas unit with all HTML5 definitions.




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


More information about the Pas2js mailing list