<div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr">Hi Peter,<br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Jan 31, 2019 at 3:49 AM <<a href="mailto:pas2js@gauns.org">pas2js@gauns.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>
Hi guys,<br>
<br>
i have changed the web.pas slightly<br>
<br>
TJSNode<br>
   property value : String Read FValue Write FValue;<br></blockquote><div><br></div><div>The "value" is not part of <a href="https://developer.mozilla.org/en-US/docs/Web/API/Node">Node interface</a>.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
for writing and<br>
<br>
TJSKeyboardEvent<br>
        FKeyCode: Integer; external name 'keyCode';<br>
        property KeyCode : Integer read FKeyCode;<br></blockquote><div><br></div><div>The "keyCode" is no longer recommended because it is marked as <a href="https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/keyCode">deprecated</a>, so it should not declared in Pas2JS RTL.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
and one question for the TJSHTMLSelectElement<br>
why is selectedIndex defined as "selectedIndex : NativeInt;"<br>
and not in the normal way<br>
<br>
   private<br>
     FSelectedIndex: NativeInt; external name 'selectedIndex';<br>
   public<br>
     property selectedIndex : NativeInt Read FSelectedIndex;<br>
<br>
but it works without this external name declaration<br></blockquote><div><br></div><div>In Pas2JS from trunk the "selectedIndex" is declared following <a href="https://developer.mozilla.org/en-US/docs/Web/API/HTMLSelectElement/selectedIndex">the specification</a>.</div></div><div><br></div><div>best,</div><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div>Silvio Clécio</div></div></div></div></div></div></div></div>