summaryrefslogtreecommitdiffstats
path: root/vendor/web-sys/src/features/gen_HtmlOutputElement.rs
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-18 02:49:50 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-18 02:49:50 +0000
commit9835e2ae736235810b4ea1c162ca5e65c547e770 (patch)
tree3fcebf40ed70e581d776a8a4c65923e8ec20e026 /vendor/web-sys/src/features/gen_HtmlOutputElement.rs
parentReleasing progress-linux version 1.70.0+dfsg2-1~progress7.99u1. (diff)
downloadrustc-9835e2ae736235810b4ea1c162ca5e65c547e770.tar.xz
rustc-9835e2ae736235810b4ea1c162ca5e65c547e770.zip
Merging upstream version 1.71.1+dfsg1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'vendor/web-sys/src/features/gen_HtmlOutputElement.rs')
-rw-r--r--vendor/web-sys/src/features/gen_HtmlOutputElement.rs130
1 files changed, 130 insertions, 0 deletions
diff --git a/vendor/web-sys/src/features/gen_HtmlOutputElement.rs b/vendor/web-sys/src/features/gen_HtmlOutputElement.rs
new file mode 100644
index 000000000..8cb898080
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_HtmlOutputElement.rs
@@ -0,0 +1,130 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = HtmlElement , extends = Element , extends = Node , extends = EventTarget , extends = :: js_sys :: Object , js_name = HTMLOutputElement , typescript_type = "HTMLOutputElement")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `HtmlOutputElement` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLOutputElement)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlOutputElement`*"]
+ pub type HtmlOutputElement;
+ #[cfg(feature = "DomTokenList")]
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLOutputElement" , js_name = htmlFor)]
+ #[doc = "Getter for the `htmlFor` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLOutputElement/htmlFor)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomTokenList`, `HtmlOutputElement`*"]
+ pub fn html_for(this: &HtmlOutputElement) -> DomTokenList;
+ #[cfg(feature = "HtmlFormElement")]
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLOutputElement" , js_name = form)]
+ #[doc = "Getter for the `form` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLOutputElement/form)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlFormElement`, `HtmlOutputElement`*"]
+ pub fn form(this: &HtmlOutputElement) -> Option<HtmlFormElement>;
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLOutputElement" , js_name = name)]
+ #[doc = "Getter for the `name` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLOutputElement/name)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlOutputElement`*"]
+ pub fn name(this: &HtmlOutputElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLOutputElement" , js_name = name)]
+ #[doc = "Setter for the `name` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLOutputElement/name)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlOutputElement`*"]
+ pub fn set_name(this: &HtmlOutputElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLOutputElement" , js_name = type)]
+ #[doc = "Getter for the `type` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLOutputElement/type)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlOutputElement`*"]
+ pub fn type_(this: &HtmlOutputElement) -> String;
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLOutputElement" , js_name = defaultValue)]
+ #[doc = "Getter for the `defaultValue` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLOutputElement/defaultValue)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlOutputElement`*"]
+ pub fn default_value(this: &HtmlOutputElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLOutputElement" , js_name = defaultValue)]
+ #[doc = "Setter for the `defaultValue` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLOutputElement/defaultValue)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlOutputElement`*"]
+ pub fn set_default_value(this: &HtmlOutputElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLOutputElement" , js_name = value)]
+ #[doc = "Getter for the `value` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLOutputElement/value)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlOutputElement`*"]
+ pub fn value(this: &HtmlOutputElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLOutputElement" , js_name = value)]
+ #[doc = "Setter for the `value` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLOutputElement/value)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlOutputElement`*"]
+ pub fn set_value(this: &HtmlOutputElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLOutputElement" , js_name = willValidate)]
+ #[doc = "Getter for the `willValidate` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLOutputElement/willValidate)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlOutputElement`*"]
+ pub fn will_validate(this: &HtmlOutputElement) -> bool;
+ #[cfg(feature = "ValidityState")]
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLOutputElement" , js_name = validity)]
+ #[doc = "Getter for the `validity` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLOutputElement/validity)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlOutputElement`, `ValidityState`*"]
+ pub fn validity(this: &HtmlOutputElement) -> ValidityState;
+ # [wasm_bindgen (structural , catch , method , getter , js_class = "HTMLOutputElement" , js_name = validationMessage)]
+ #[doc = "Getter for the `validationMessage` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLOutputElement/validationMessage)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlOutputElement`*"]
+ pub fn validation_message(this: &HtmlOutputElement) -> Result<String, JsValue>;
+ #[cfg(feature = "NodeList")]
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLOutputElement" , js_name = labels)]
+ #[doc = "Getter for the `labels` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLOutputElement/labels)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlOutputElement`, `NodeList`*"]
+ pub fn labels(this: &HtmlOutputElement) -> NodeList;
+ # [wasm_bindgen (method , structural , js_class = "HTMLOutputElement" , js_name = checkValidity)]
+ #[doc = "The `checkValidity()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLOutputElement/checkValidity)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlOutputElement`*"]
+ pub fn check_validity(this: &HtmlOutputElement) -> bool;
+ # [wasm_bindgen (method , structural , js_class = "HTMLOutputElement" , js_name = reportValidity)]
+ #[doc = "The `reportValidity()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLOutputElement/reportValidity)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlOutputElement`*"]
+ pub fn report_validity(this: &HtmlOutputElement) -> bool;
+ # [wasm_bindgen (method , structural , js_class = "HTMLOutputElement" , js_name = setCustomValidity)]
+ #[doc = "The `setCustomValidity()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLOutputElement/setCustomValidity)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlOutputElement`*"]
+ pub fn set_custom_validity(this: &HtmlOutputElement, error: &str);
+}