summaryrefslogtreecommitdiffstats
path: root/vendor/web-sys/src/features/gen_HtmlInputElement.rs
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/web-sys/src/features/gen_HtmlInputElement.rs')
-rw-r--r--vendor/web-sys/src/features/gen_HtmlInputElement.rs15
1 files changed, 15 insertions, 0 deletions
diff --git a/vendor/web-sys/src/features/gen_HtmlInputElement.rs b/vendor/web-sys/src/features/gen_HtmlInputElement.rs
index 506557d24..bb780650a 100644
--- a/vendor/web-sys/src/features/gen_HtmlInputElement.rs
+++ b/vendor/web-sys/src/features/gen_HtmlInputElement.rs
@@ -1,4 +1,5 @@
#![allow(unused_imports)]
+#![allow(clippy::all)]
use super::*;
use wasm_bindgen::prelude::*;
#[wasm_bindgen]
@@ -675,6 +676,20 @@ extern "C" {
start: u32,
end: u32,
) -> Result<(), JsValue>;
+ #[cfg(feature = "SelectionMode")]
+ # [wasm_bindgen (catch , method , structural , js_class = "HTMLInputElement" , js_name = setRangeText)]
+ #[doc = "The `setRangeText()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/setRangeText)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`, `SelectionMode`*"]
+ pub fn set_range_text_with_start_and_end_and_selection_mode(
+ this: &HtmlInputElement,
+ replacement: &str,
+ start: u32,
+ end: u32,
+ selection_mode: SelectionMode,
+ ) -> Result<(), JsValue>;
# [wasm_bindgen (catch , method , structural , js_class = "HTMLInputElement" , js_name = setSelectionRange)]
#[doc = "The `setSelectionRange()` method."]
#[doc = ""]