From 444721354ee84639bbbd7c864ea256840dc4518a Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Tue, 13 Oct 2015 21:00:02 +0100 Subject: add automaticaly generated property setter and getters to HTMLLabelElement --- javascript/duktape/HTMLLabelElement.bnd | 14 ++++++++++++++ javascript/duktape/netsurf.bnd | 2 +- 2 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 javascript/duktape/HTMLLabelElement.bnd (limited to 'javascript') diff --git a/javascript/duktape/HTMLLabelElement.bnd b/javascript/duktape/HTMLLabelElement.bnd new file mode 100644 index 000000000..018f798bd --- /dev/null +++ b/javascript/duktape/HTMLLabelElement.bnd @@ -0,0 +1,14 @@ +/* HTML label element binding using duktape and libdom + * + * Copyright 2015 Vincent Sanders + * + * 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 HTMLLabelElement(struct dom_html_element *html_label_element::html_element); + +getter HTMLLabelElement::htmlFor(); +setter HTMLLabelElement::htmlFor(); diff --git a/javascript/duktape/netsurf.bnd b/javascript/duktape/netsurf.bnd index 67dd2ea70..0e467ee0d 100644 --- a/javascript/duktape/netsurf.bnd +++ b/javascript/duktape/netsurf.bnd @@ -80,6 +80,7 @@ struct dom_html_br_element; #include "HTMLIFrameElement.bnd" #include "HTMLImageElement.bnd" #include "HTMLInputElement.bnd" +#include "HTMLLabelElement.bnd" /* specialisations of html_element */ init HTMLUnknownElement(struct dom_html_element *html_unknown_element::html_element); @@ -103,7 +104,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 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); init HTMLTableSectionElement(struct dom_html_element *html_table_section_element::html_element); -- cgit v1.2.3