[Pas2js] The definition HTMLOutputElement interface
warleyalex
warleyalex at yahoo.com.br
Tue Aug 20 00:53:38 CEST 2019
{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/
More information about the Pas2js
mailing list