mirror of
https://github.com/netsurf-browser/netsurf
synced 2025-01-18 16:49:18 +03:00
add automaticaly generated property setter and getters to HTMLInputElement
This commit is contained in:
parent
e1769827fc
commit
2f68549812
@ -945,27 +945,13 @@ getter HTMLImageElement::vspace(long);\n
|
||||
setter HTMLImageElement::vspace(long);\n
|
||||
getter HTMLImageElement::width(long);\n
|
||||
setter HTMLImageElement::width(long);\n
|
||||
getter HTMLInputElement::accept(string);\n
|
||||
setter HTMLInputElement::accept(string);\n
|
||||
getter HTMLInputElement::align(string);\n
|
||||
setter HTMLInputElement::align(string);\n
|
||||
getter HTMLInputElement::alt(string);\n
|
||||
setter HTMLInputElement::alt(string);\n
|
||||
getter HTMLInputElement::autocomplete(string);\n
|
||||
setter HTMLInputElement::autocomplete(string);\n
|
||||
getter HTMLInputElement::autofocus(boolean);\n
|
||||
setter HTMLInputElement::autofocus(boolean);\n
|
||||
getter HTMLInputElement::checked(boolean);\n
|
||||
setter HTMLInputElement::checked(boolean);\n
|
||||
method HTMLInputElement::checkValidity();\n
|
||||
getter HTMLInputElement::defaultChecked(boolean);\n
|
||||
setter HTMLInputElement::defaultChecked(boolean);\n
|
||||
getter HTMLInputElement::defaultValue(string);\n
|
||||
setter HTMLInputElement::defaultValue(string);\n
|
||||
getter HTMLInputElement::dirName(string);\n
|
||||
setter HTMLInputElement::dirName(string);\n
|
||||
getter HTMLInputElement::disabled(boolean);\n
|
||||
setter HTMLInputElement::disabled(boolean);\n
|
||||
getter HTMLInputElement::files(user);\n
|
||||
getter HTMLInputElement::formAction(string);\n
|
||||
setter HTMLInputElement::formAction(string);\n
|
||||
@ -996,14 +982,10 @@ getter HTMLInputElement::min(string);\n
|
||||
setter HTMLInputElement::min(string);\n
|
||||
getter HTMLInputElement::multiple(boolean);\n
|
||||
setter HTMLInputElement::multiple(boolean);\n
|
||||
getter HTMLInputElement::name(string);\n
|
||||
setter HTMLInputElement::name(string);\n
|
||||
getter HTMLInputElement::pattern(string);\n
|
||||
setter HTMLInputElement::pattern(string);\n
|
||||
getter HTMLInputElement::placeholder(string);\n
|
||||
setter HTMLInputElement::placeholder(string);\n
|
||||
getter HTMLInputElement::readOnly(boolean);\n
|
||||
setter HTMLInputElement::readOnly(boolean);\n
|
||||
method HTMLInputElement::reportValidity();\n
|
||||
getter HTMLInputElement::required(boolean);\n
|
||||
setter HTMLInputElement::required(boolean);\n
|
||||
@ -1019,16 +1001,12 @@ method HTMLInputElement::setRangeText();\n
|
||||
method HTMLInputElement::setSelectionRange();\n
|
||||
getter HTMLInputElement::size(long);\n
|
||||
setter HTMLInputElement::size(long);\n
|
||||
getter HTMLInputElement::src(string);\n
|
||||
setter HTMLInputElement::src(string);\n
|
||||
method HTMLInputElement::stepDown();\n
|
||||
getter HTMLInputElement::step(string);\n
|
||||
setter HTMLInputElement::step(string);\n
|
||||
method HTMLInputElement::stepUp();\n
|
||||
getter HTMLInputElement::type(string);\n
|
||||
setter HTMLInputElement::type(string);\n
|
||||
getter HTMLInputElement::useMap(string);\n
|
||||
setter HTMLInputElement::useMap(string);\n
|
||||
getter HTMLInputElement::validationMessage(string);\n
|
||||
getter HTMLInputElement::validity(user);\n
|
||||
getter HTMLInputElement::valueAsDate(date);\n
|
||||
@ -1039,8 +1017,6 @@ getter HTMLInputElement::valueHigh(double);\n
|
||||
setter HTMLInputElement::valueHigh(double);\n
|
||||
getter HTMLInputElement::valueLow(double);\n
|
||||
setter HTMLInputElement::valueLow(double);\n
|
||||
getter HTMLInputElement::value(string);\n
|
||||
setter HTMLInputElement::value(string);\n
|
||||
getter HTMLInputElement::width(long);\n
|
||||
setter HTMLInputElement::width(long);\n
|
||||
getter HTMLInputElement::willValidate(boolean);\n
|
||||
|
58
javascript/duktape/HTMLInputElement.bnd
Normal file
58
javascript/duktape/HTMLInputElement.bnd
Normal file
@ -0,0 +1,58 @@
|
||||
/* HTML input element binding using duktape and libdom
|
||||
*
|
||||
* Copyright 2015 Vincent Sanders <vince@netsurf-browser.org>
|
||||
*
|
||||
* This file is part of NetSurf, http://www.netsurf-browser.org/
|
||||
*
|
||||
* Released under the terms of the MIT License,
|
||||
* http://www.opensource.org/licenses/mit-license
|
||||
*/
|
||||
|
||||
init HTMLInputElement(struct dom_html_element *html_input_element::html_element);
|
||||
|
||||
getter HTMLInputElement::accept();
|
||||
setter HTMLInputElement::accept();
|
||||
|
||||
getter HTMLInputElement::align();
|
||||
setter HTMLInputElement::align();
|
||||
|
||||
getter HTMLInputElement::alt();
|
||||
setter HTMLInputElement::alt();
|
||||
|
||||
getter HTMLInputElement::checked();
|
||||
setter HTMLInputElement::checked();
|
||||
|
||||
getter HTMLInputElement::defaultChecked();
|
||||
setter HTMLInputElement::defaultChecked();
|
||||
|
||||
getter HTMLInputElement::defaultValue();
|
||||
setter HTMLInputElement::defaultValue();
|
||||
|
||||
getter HTMLInputElement::disabled();
|
||||
setter HTMLInputElement::disabled();
|
||||
|
||||
getter HTMLInputElement::name();
|
||||
setter HTMLInputElement::name();
|
||||
|
||||
getter HTMLInputElement::readOnly();
|
||||
setter HTMLInputElement::readOnly();
|
||||
|
||||
getter HTMLInputElement::src();
|
||||
setter HTMLInputElement::src();
|
||||
|
||||
getter HTMLInputElement::useMap();
|
||||
setter HTMLInputElement::useMap();
|
||||
|
||||
getter HTMLInputElement::valueAsNumber();
|
||||
setter HTMLInputElement::valueAsNumber();
|
||||
|
||||
getter HTMLInputElement::valueHigh();
|
||||
setter HTMLInputElement::valueHigh();
|
||||
|
||||
getter HTMLInputElement::valueLow();
|
||||
setter HTMLInputElement::valueLow();
|
||||
|
||||
getter HTMLInputElement::value();
|
||||
setter HTMLInputElement::value();
|
||||
|
||||
|
@ -79,6 +79,7 @@ struct dom_html_br_element;
|
||||
#include "HTMLHTMLElement.bnd"
|
||||
#include "HTMLIFrameElement.bnd"
|
||||
#include "HTMLImageElement.bnd"
|
||||
#include "HTMLInputElement.bnd"
|
||||
|
||||
/* specialisations of html_element */
|
||||
init HTMLUnknownElement(struct dom_html_element *html_unknown_element::html_element);
|
||||
@ -102,7 +103,6 @@ init HTMLOptionElement(struct dom_html_element *html_option_element::html_elemen
|
||||
init HTMLOptGroupElement(struct dom_html_element *html_opt_group_element::html_element);
|
||||
init HTMLDataListElement(struct dom_html_element *html_data_list_element::html_element);
|
||||
init HTMLSelectElement(struct dom_html_element *html_select_element::html_element);
|
||||
init HTMLInputElement(struct dom_html_element *html_input_element::html_element);
|
||||
init HTMLLabelElement(struct dom_html_element *html_label_element::html_element);
|
||||
init HTMLTableCellElement(struct dom_html_element *html_table_cell_element::html_element);
|
||||
init HTMLTableRowElement(struct dom_html_element *html_table_row_element::html_element);
|
||||
|
Loading…
Reference in New Issue
Block a user