summaryrefslogtreecommitdiff
path: root/javascript
diff options
context:
space:
mode:
Diffstat (limited to 'javascript')
-rw-r--r--javascript/duktape/HTMLTextAreaElement.bnd30
-rw-r--r--javascript/duktape/netsurf.bnd2
2 files changed, 31 insertions, 1 deletions
diff --git a/javascript/duktape/HTMLTextAreaElement.bnd b/javascript/duktape/HTMLTextAreaElement.bnd
new file mode 100644
index 000000000..a0fc1bf7b
--- /dev/null
+++ b/javascript/duktape/HTMLTextAreaElement.bnd
@@ -0,0 +1,30 @@
+/* HTML text area 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 HTMLTextAreaElement(struct dom_html_element *html_text_area_element::html_element);
+
+getter HTMLTextAreaElement::defaultValue();
+setter HTMLTextAreaElement::defaultValue();
+
+getter HTMLTextAreaElement::disabled();
+setter HTMLTextAreaElement::disabled();
+
+getter HTMLTextAreaElement::name();
+setter HTMLTextAreaElement::name();
+
+getter HTMLTextAreaElement::readOnly();
+setter HTMLTextAreaElement::readOnly();
+
+getter HTMLTextAreaElement::type();
+
+getter HTMLTextAreaElement::value();
+setter HTMLTextAreaElement::value();
+
+
diff --git a/javascript/duktape/netsurf.bnd b/javascript/duktape/netsurf.bnd
index ba46dc606..2693cf1e1 100644
--- a/javascript/duktape/netsurf.bnd
+++ b/javascript/duktape/netsurf.bnd
@@ -104,6 +104,7 @@ struct dom_html_br_element;
#include "HTMLTableElement.bnd"
#include "HTMLTableRowElement.bnd"
#include "HTMLTableSectionElement.bnd"
+#include "HTMLTextAreaElement.bnd"
init HTMLUnknownElement(struct dom_html_element *html_unknown_element::html_element);
init HTMLDirectoryElement(struct dom_html_element *html_directory_element::html_element);
@@ -117,7 +118,6 @@ init HTMLMeterElement(struct dom_html_element *html_meter_element::html_element)
init HTMLProgressElement(struct dom_html_element *html_progress_element::html_element);
init HTMLOutputElement(struct dom_html_element *html_output_element::html_element);
init HTMLKeygenElement(struct dom_html_element *html_keygen_element::html_element);
-init HTMLTextAreaElement(struct dom_html_element *html_text_area_element::html_element);
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 HTMLMediaElement(struct dom_html_element *html_media_element::html_element);