[Pas2js] The definition HTMLOutputElement interface
Michael Van Canneyt
michael at freepascal.org
Tue Aug 20 09:14:43 CEST 2019
Thank you,
added to web.pas unit.
Michael.
On Mon, 19 Aug 2019, warleyalex via Pas2js wrote:
> {A DOMSettableTokenList object is equivalent to a DOMTokenList object without
> an associated attribute.}
> type
> TJSDOMSettableTokenList = class external name 'DOMSettableTokenList'
> (TJSDOMTokenList)
> private
> fvalue: TJSDOMString; external name 'value';
> public
> property value: TJSDOMString read fvalue; // readonly
> end;
>
> (*
> interface HTMLOutputElement : HTMLElement {
> [SameObject, PutForwards=value] readonly attribute DOMTokenList htmlFor;
> readonly attribute HTMLFormElement? form;
> [CEReactions] attribute DOMString name;
>
> readonly attribute DOMString type;
> [CEReactions] attribute DOMString defaultValue;
> [CEReactions] attribute DOMString value;
>
> readonly attribute boolean willValidate;
> readonly attribute ValidityState validity;
> readonly attribute DOMString validationMessage;
> boolean checkValidity();
> boolean reportValidity();
> void setCustomValidity(DOMString error);
>
> readonly attribute NodeList labels;
> };
> *)
> TJSHTMLOutputElement = class external name 'HTMLOutputElement'
> (TJSHTMLElement)
> private
> flabels: TJSNodeList; external name 'labels';
> fform: TJSHTMLFormElement; external name 'form';
> //fname: TJSDOMString; external name 'name'; // CEReactions
> ftype: TJSDOMString; external name 'type';
> fdefaultValue: TJSDOMString; external name 'defaultValue';
> fvalue: TJSDOMString; external name 'value'; // CEReactions ????
> fwillValidate: Boolean; external name 'willValidate';
> fvalidity: TJSValidityState; external name 'validity';
> fvalidationMessage: TJSDOMString; external name 'validationMessage';
>
> public
> htmlFor: TJSDOMSettableTokenList {TJSDOMTokenList}; // PutForwards=value
> { public methods }
> function checkValidity: Boolean;
> function reportValidity: Boolean;
> procedure setCustomValidity(error: TJSDOMString);
> public
> { readonly attribute }
> property labels: TJSNodeList read flabels;
> property form: TJSHTMLFormElement read fform;
> property &type: TJSDOMString read ftype;
> property defaultValue: TJSDOMString read fdefaultValue;
> property value: TJSDOMString read fvalue write fvalue;// CEReactions ???
> property willValidate: Boolean read fwillValidate;
> property validity: TJSValidityState read fvalidity;
> property validationMessage: TJSDOMString read fvalidationMessage;
> end;
>
>
>
> --
> Sent from: http://pas2js.38893.n8.nabble.com/
> _______________________________________________
> Pas2js maillist - Pas2js at lists.freepascal.org
> https://lists.freepascal.org/cgi-bin/mailman/listinfo/pas2js
More information about the Pas2js
mailing list