1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701
#![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 = HTMLInputElement , typescript_type = "HTMLInputElement")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `HtmlInputElement` class."] #[doc = ""] #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement)"] #[doc = ""] #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"] pub type HtmlInputElement; # [wasm_bindgen (structural , method , getter , js_class = "HTMLInputElement" , js_name = accept)] #[doc = "Getter for the `accept` field of this object."] #[doc = ""] #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/accept)"] #[doc = ""] #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"] pub fn accept(this: &HtmlInputElement) -> String; # [wasm_bindgen (structural , method , setter , js_class = "HTMLInputElement" , js_name = accept)] #[doc = "Setter for the `accept` field of this object."] #[doc = ""] #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/accept)"] #[doc = ""] #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"] pub fn set_accept(this: &HtmlInputElement, value: &str); # [wasm_bindgen (structural , method , getter , js_class = "HTMLInputElement" , js_name = alt)] #[doc = "Getter for the `alt` field of this object."] #[doc = ""] #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/alt)"] #[doc = ""] #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"] pub fn alt(this: &HtmlInputElement) -> String; # [wasm_bindgen (structural , method , setter , js_class = "HTMLInputElement" , js_name = alt)] #[doc = "Setter for the `alt` field of this object."] #[doc = ""] #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/alt)"] #[doc = ""] #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"] pub fn set_alt(this: &HtmlInputElement, value: &str); # [wasm_bindgen (structural , method , getter , js_class = "HTMLInputElement" , js_name = autocomplete)] #[doc = "Getter for the `autocomplete` field of this object."] #[doc = ""] #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/autocomplete)"] #[doc = ""] #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"] pub fn autocomplete(this: &HtmlInputElement) -> String; # [wasm_bindgen (structural , method , setter , js_class = "HTMLInputElement" , js_name = autocomplete)] #[doc = "Setter for the `autocomplete` field of this object."] #[doc = ""] #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/autocomplete)"] #[doc = ""] #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"] pub fn set_autocomplete(this: &HtmlInputElement, value: &str); # [wasm_bindgen (structural , method , getter , js_class = "HTMLInputElement" , js_name = autofocus)] #[doc = "Getter for the `autofocus` field of this object."] #[doc = ""] #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/autofocus)"] #[doc = ""] #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"] pub fn autofocus(this: &HtmlInputElement) -> bool; # [wasm_bindgen (structural , method , setter , js_class = "HTMLInputElement" , js_name = autofocus)] #[doc = "Setter for the `autofocus` field of this object."] #[doc = ""] #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/autofocus)"] #[doc = ""] #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"] pub fn set_autofocus(this: &HtmlInputElement, value: bool); # [wasm_bindgen (structural , method , getter , js_class = "HTMLInputElement" , js_name = defaultChecked)] #[doc = "Getter for the `defaultChecked` field of this object."] #[doc = ""] #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/defaultChecked)"] #[doc = ""] #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"] pub fn default_checked(this: &HtmlInputElement) -> bool; # [wasm_bindgen (structural , method , setter , js_class = "HTMLInputElement" , js_name = defaultChecked)] #[doc = "Setter for the `defaultChecked` field of this object."] #[doc = ""] #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/defaultChecked)"] #[doc = ""] #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"] pub fn set_default_checked(this: &HtmlInputElement, value: bool); # [wasm_bindgen (structural , method , getter , js_class = "HTMLInputElement" , js_name = checked)] #[doc = "Getter for the `checked` field of this object."] #[doc = ""] #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/checked)"] #[doc = ""] #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"] pub fn checked(this: &HtmlInputElement) -> bool; # [wasm_bindgen (structural , method , setter , js_class = "HTMLInputElement" , js_name = checked)] #[doc = "Setter for the `checked` field of this object."] #[doc = ""] #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/checked)"] #[doc = ""] #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"] pub fn set_checked(this: &HtmlInputElement, value: bool); # [wasm_bindgen (structural , method , getter , js_class = "HTMLInputElement" , js_name = disabled)] #[doc = "Getter for the `disabled` field of this object."] #[doc = ""] #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/disabled)"] #[doc = ""] #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"] pub fn disabled(this: &HtmlInputElement) -> bool; # [wasm_bindgen (structural , method , setter , js_class = "HTMLInputElement" , js_name = disabled)] #[doc = "Setter for the `disabled` field of this object."] #[doc = ""] #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/disabled)"] #[doc = ""] #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"] pub fn set_disabled(this: &HtmlInputElement, value: bool); #[cfg(feature = "HtmlFormElement")] # [wasm_bindgen (structural , method , getter , js_class = "HTMLInputElement" , 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/HTMLInputElement/form)"] #[doc = ""] #[doc = "*This API requires the following crate features to be activated: `HtmlFormElement`, `HtmlInputElement`*"] pub fn form(this: &HtmlInputElement) -> Option<HtmlFormElement>; #[cfg(feature = "FileList")] # [wasm_bindgen (structural , method , getter , js_class = "HTMLInputElement" , js_name = files)] #[doc = "Getter for the `files` field of this object."] #[doc = ""] #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/files)"] #[doc = ""] #[doc = "*This API requires the following crate features to be activated: `FileList`, `HtmlInputElement`*"] pub fn files(this: &HtmlInputElement) -> Option<FileList>; #[cfg(feature = "FileList")] # [wasm_bindgen (structural , method , setter , js_class = "HTMLInputElement" , js_name = files)] #[doc = "Setter for the `files` field of this object."] #[doc = ""] #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/files)"] #[doc = ""] #[doc = "*This API requires the following crate features to be activated: `FileList`, `HtmlInputElement`*"] pub fn set_files(this: &HtmlInputElement, value: Option<&FileList>); # [wasm_bindgen (structural , method , getter , js_class = "HTMLInputElement" , js_name = formAction)] #[doc = "Getter for the `formAction` field of this object."] #[doc = ""] #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/formAction)"] #[doc = ""] #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"] pub fn form_action(this: &HtmlInputElement) -> String; # [wasm_bindgen (structural , method , setter , js_class = "HTMLInputElement" , js_name = formAction)] #[doc = "Setter for the `formAction` field of this object."] #[doc = ""] #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/formAction)"] #[doc = ""] #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"] pub fn set_form_action(this: &HtmlInputElement, value: &str); # [wasm_bindgen (structural , method , getter , js_class = "HTMLInputElement" , js_name = formEnctype)] #[doc = "Getter for the `formEnctype` field of this object."] #[doc = ""] #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/formEnctype)"] #[doc = ""] #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"] pub fn form_enctype(this: &HtmlInputElement) -> String; # [wasm_bindgen (structural , method , setter , js_class = "HTMLInputElement" , js_name = formEnctype)] #[doc = "Setter for the `formEnctype` field of this object."] #[doc = ""] #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/formEnctype)"] #[doc = ""] #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"] pub fn set_form_enctype(this: &HtmlInputElement, value: &str); # [wasm_bindgen (structural , method , getter , js_class = "HTMLInputElement" , js_name = formMethod)] #[doc = "Getter for the `formMethod` field of this object."] #[doc = ""] #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/formMethod)"] #[doc = ""] #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"] pub fn form_method(this: &HtmlInputElement) -> String; # [wasm_bindgen (structural , method , setter , js_class = "HTMLInputElement" , js_name = formMethod)] #[doc = "Setter for the `formMethod` field of this object."] #[doc = ""] #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/formMethod)"] #[doc = ""] #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"] pub fn set_form_method(this: &HtmlInputElement, value: &str); # [wasm_bindgen (structural , method , getter , js_class = "HTMLInputElement" , js_name = formNoValidate)] #[doc = "Getter for the `formNoValidate` field of this object."] #[doc = ""] #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/formNoValidate)"] #[doc = ""] #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"] pub fn form_no_validate(this: &HtmlInputElement) -> bool; # [wasm_bindgen (structural , method , setter , js_class = "HTMLInputElement" , js_name = formNoValidate)] #[doc = "Setter for the `formNoValidate` field of this object."] #[doc = ""] #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/formNoValidate)"] #[doc = ""] #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"] pub fn set_form_no_validate(this: &HtmlInputElement, value: bool); # [wasm_bindgen (structural , method , getter , js_class = "HTMLInputElement" , js_name = formTarget)] #[doc = "Getter for the `formTarget` field of this object."] #[doc = ""] #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/formTarget)"] #[doc = ""] #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"] pub fn form_target(this: &HtmlInputElement) -> String; # [wasm_bindgen (structural , method , setter , js_class = "HTMLInputElement" , js_name = formTarget)] #[doc = "Setter for the `formTarget` field of this object."] #[doc = ""] #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/formTarget)"] #[doc = ""] #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"] pub fn set_form_target(this: &HtmlInputElement, value: &str); # [wasm_bindgen (structural , method , getter , js_class = "HTMLInputElement" , js_name = height)] #[doc = "Getter for the `height` field of this object."] #[doc = ""] #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/height)"] #[doc = ""] #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"] pub fn height(this: &HtmlInputElement) -> u32; # [wasm_bindgen (structural , method , setter , js_class = "HTMLInputElement" , js_name = height)] #[doc = "Setter for the `height` field of this object."] #[doc = ""] #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/height)"] #[doc = ""] #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"] pub fn set_height(this: &HtmlInputElement, value: u32); # [wasm_bindgen (structural , method , getter , js_class = "HTMLInputElement" , js_name = indeterminate)] #[doc = "Getter for the `indeterminate` field of this object."] #[doc = ""] #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/indeterminate)"] #[doc = ""] #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"] pub fn indeterminate(this: &HtmlInputElement) -> bool; # [wasm_bindgen (structural , method , setter , js_class = "HTMLInputElement" , js_name = indeterminate)] #[doc = "Setter for the `indeterminate` field of this object."] #[doc = ""] #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/indeterminate)"] #[doc = ""] #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"] pub fn set_indeterminate(this: &HtmlInputElement, value: bool); # [wasm_bindgen (structural , method , getter , js_class = "HTMLInputElement" , js_name = inputMode)] #[doc = "Getter for the `inputMode` field of this object."] #[doc = ""] #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/inputMode)"] #[doc = ""] #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"] pub fn input_mode(this: &HtmlInputElement) -> String; # [wasm_bindgen (structural , method , setter , js_class = "HTMLInputElement" , js_name = inputMode)] #[doc = "Setter for the `inputMode` field of this object."] #[doc = ""] #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/inputMode)"] #[doc = ""] #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"] pub fn set_input_mode(this: &HtmlInputElement, value: &str); # [wasm_bindgen (structural , method , getter , js_class = "HTMLInputElement" , js_name = list)] #[doc = "Getter for the `list` field of this object."] #[doc = ""] #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/list)"] #[doc = ""] #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"] pub fn list(this: &HtmlInputElement) -> Option<HtmlElement>; # [wasm_bindgen (structural , method , getter , js_class = "HTMLInputElement" , js_name = max)] #[doc = "Getter for the `max` field of this object."] #[doc = ""] #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/max)"] #[doc = ""] #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"] pub fn max(this: &HtmlInputElement) -> String; # [wasm_bindgen (structural , method , setter , js_class = "HTMLInputElement" , js_name = max)] #[doc = "Setter for the `max` field of this object."] #[doc = ""] #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/max)"] #[doc = ""] #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"] pub fn set_max(this: &HtmlInputElement, value: &str); # [wasm_bindgen (structural , method , getter , js_class = "HTMLInputElement" , js_name = maxLength)] #[doc = "Getter for the `maxLength` field of this object."] #[doc = ""] #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/maxLength)"] #[doc = ""] #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"] pub fn max_length(this: &HtmlInputElement) -> i32; # [wasm_bindgen (structural , method , setter , js_class = "HTMLInputElement" , js_name = maxLength)] #[doc = "Setter for the `maxLength` field of this object."] #[doc = ""] #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/maxLength)"] #[doc = ""] #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"] pub fn set_max_length(this: &HtmlInputElement, value: i32); # [wasm_bindgen (structural , method , getter , js_class = "HTMLInputElement" , js_name = min)] #[doc = "Getter for the `min` field of this object."] #[doc = ""] #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/min)"] #[doc = ""] #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"] pub fn min(this: &HtmlInputElement) -> String; # [wasm_bindgen (structural , method , setter , js_class = "HTMLInputElement" , js_name = min)] #[doc = "Setter for the `min` field of this object."] #[doc = ""] #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/min)"] #[doc = ""] #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"] pub fn set_min(this: &HtmlInputElement, value: &str); # [wasm_bindgen (structural , method , getter , js_class = "HTMLInputElement" , js_name = minLength)] #[doc = "Getter for the `minLength` field of this object."] #[doc = ""] #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/minLength)"] #[doc = ""] #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"] pub fn min_length(this: &HtmlInputElement) -> i32; # [wasm_bindgen (structural , method , setter , js_class = "HTMLInputElement" , js_name = minLength)] #[doc = "Setter for the `minLength` field of this object."] #[doc = ""] #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/minLength)"] #[doc = ""] #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"] pub fn set_min_length(this: &HtmlInputElement, value: i32); # [wasm_bindgen (structural , method , getter , js_class = "HTMLInputElement" , js_name = multiple)] #[doc = "Getter for the `multiple` field of this object."] #[doc = ""] #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/multiple)"] #[doc = ""] #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"] pub fn multiple(this: &HtmlInputElement) -> bool; # [wasm_bindgen (structural , method , setter , js_class = "HTMLInputElement" , js_name = multiple)] #[doc = "Setter for the `multiple` field of this object."] #[doc = ""] #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/multiple)"] #[doc = ""] #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"] pub fn set_multiple(this: &HtmlInputElement, value: bool); # [wasm_bindgen (structural , method , getter , js_class = "HTMLInputElement" , 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/HTMLInputElement/name)"] #[doc = ""] #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"] pub fn name(this: &HtmlInputElement) -> String; # [wasm_bindgen (structural , method , setter , js_class = "HTMLInputElement" , 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/HTMLInputElement/name)"] #[doc = ""] #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"] pub fn set_name(this: &HtmlInputElement, value: &str); # [wasm_bindgen (structural , method , getter , js_class = "HTMLInputElement" , js_name = pattern)] #[doc = "Getter for the `pattern` field of this object."] #[doc = ""] #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/pattern)"] #[doc = ""] #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"] pub fn pattern(this: &HtmlInputElement) -> String; # [wasm_bindgen (structural , method , setter , js_class = "HTMLInputElement" , js_name = pattern)] #[doc = "Setter for the `pattern` field of this object."] #[doc = ""] #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/pattern)"] #[doc = ""] #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"] pub fn set_pattern(this: &HtmlInputElement, value: &str); # [wasm_bindgen (structural , method , getter , js_class = "HTMLInputElement" , js_name = placeholder)] #[doc = "Getter for the `placeholder` field of this object."] #[doc = ""] #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/placeholder)"] #[doc = ""] #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"] pub fn placeholder(this: &HtmlInputElement) -> String; # [wasm_bindgen (structural , method , setter , js_class = "HTMLInputElement" , js_name = placeholder)] #[doc = "Setter for the `placeholder` field of this object."] #[doc = ""] #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/placeholder)"] #[doc = ""] #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"] pub fn set_placeholder(this: &HtmlInputElement, value: &str); # [wasm_bindgen (structural , method , getter , js_class = "HTMLInputElement" , js_name = readOnly)] #[doc = "Getter for the `readOnly` field of this object."] #[doc = ""] #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/readOnly)"] #[doc = ""] #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"] pub fn read_only(this: &HtmlInputElement) -> bool; # [wasm_bindgen (structural , method , setter , js_class = "HTMLInputElement" , js_name = readOnly)] #[doc = "Setter for the `readOnly` field of this object."] #[doc = ""] #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/readOnly)"] #[doc = ""] #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"] pub fn set_read_only(this: &HtmlInputElement, value: bool); # [wasm_bindgen (structural , method , getter , js_class = "HTMLInputElement" , js_name = required)] #[doc = "Getter for the `required` field of this object."] #[doc = ""] #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/required)"] #[doc = ""] #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"] pub fn required(this: &HtmlInputElement) -> bool; # [wasm_bindgen (structural , method , setter , js_class = "HTMLInputElement" , js_name = required)] #[doc = "Setter for the `required` field of this object."] #[doc = ""] #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/required)"] #[doc = ""] #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"] pub fn set_required(this: &HtmlInputElement, value: bool); # [wasm_bindgen (structural , method , getter , js_class = "HTMLInputElement" , js_name = size)] #[doc = "Getter for the `size` field of this object."] #[doc = ""] #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/size)"] #[doc = ""] #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"] pub fn size(this: &HtmlInputElement) -> u32; # [wasm_bindgen (structural , method , setter , js_class = "HTMLInputElement" , js_name = size)] #[doc = "Setter for the `size` field of this object."] #[doc = ""] #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/size)"] #[doc = ""] #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"] pub fn set_size(this: &HtmlInputElement, value: u32); # [wasm_bindgen (structural , method , getter , js_class = "HTMLInputElement" , js_name = src)] #[doc = "Getter for the `src` field of this object."] #[doc = ""] #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/src)"] #[doc = ""] #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"] pub fn src(this: &HtmlInputElement) -> String; # [wasm_bindgen (structural , method , setter , js_class = "HTMLInputElement" , js_name = src)] #[doc = "Setter for the `src` field of this object."] #[doc = ""] #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/src)"] #[doc = ""] #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"] pub fn set_src(this: &HtmlInputElement, value: &str); # [wasm_bindgen (structural , method , getter , js_class = "HTMLInputElement" , js_name = step)] #[doc = "Getter for the `step` field of this object."] #[doc = ""] #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/step)"] #[doc = ""] #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"] pub fn step(this: &HtmlInputElement) -> String; # [wasm_bindgen (structural , method , setter , js_class = "HTMLInputElement" , js_name = step)] #[doc = "Setter for the `step` field of this object."] #[doc = ""] #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/step)"] #[doc = ""] #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"] pub fn set_step(this: &HtmlInputElement, value: &str); # [wasm_bindgen (structural , method , getter , js_class = "HTMLInputElement" , 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/HTMLInputElement/type)"] #[doc = ""] #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"] pub fn type_(this: &HtmlInputElement) -> String; # [wasm_bindgen (structural , method , setter , js_class = "HTMLInputElement" , js_name = type)] #[doc = "Setter for the `type` field of this object."] #[doc = ""] #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/type)"] #[doc = ""] #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"] pub fn set_type(this: &HtmlInputElement, value: &str); # [wasm_bindgen (structural , method , getter , js_class = "HTMLInputElement" , 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/HTMLInputElement/defaultValue)"] #[doc = ""] #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"] pub fn default_value(this: &HtmlInputElement) -> String; # [wasm_bindgen (structural , method , setter , js_class = "HTMLInputElement" , 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/HTMLInputElement/defaultValue)"] #[doc = ""] #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"] pub fn set_default_value(this: &HtmlInputElement, value: &str); # [wasm_bindgen (structural , method , getter , js_class = "HTMLInputElement" , 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/HTMLInputElement/value)"] #[doc = ""] #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"] pub fn value(this: &HtmlInputElement) -> String; # [wasm_bindgen (structural , method , setter , js_class = "HTMLInputElement" , 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/HTMLInputElement/value)"] #[doc = ""] #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"] pub fn set_value(this: &HtmlInputElement, value: &str); # [wasm_bindgen (structural , method , getter , js_class = "HTMLInputElement" , js_name = valueAsNumber)] #[doc = "Getter for the `valueAsNumber` field of this object."] #[doc = ""] #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/valueAsNumber)"] #[doc = ""] #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"] pub fn value_as_number(this: &HtmlInputElement) -> f64; # [wasm_bindgen (structural , method , setter , js_class = "HTMLInputElement" , js_name = valueAsNumber)] #[doc = "Setter for the `valueAsNumber` field of this object."] #[doc = ""] #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/valueAsNumber)"] #[doc = ""] #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"] pub fn set_value_as_number(this: &HtmlInputElement, value: f64); # [wasm_bindgen (structural , method , getter , js_class = "HTMLInputElement" , js_name = width)] #[doc = "Getter for the `width` field of this object."] #[doc = ""] #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/width)"] #[doc = ""] #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"] pub fn width(this: &HtmlInputElement) -> u32; # [wasm_bindgen (structural , method , setter , js_class = "HTMLInputElement" , js_name = width)] #[doc = "Setter for the `width` field of this object."] #[doc = ""] #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/width)"] #[doc = ""] #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"] pub fn set_width(this: &HtmlInputElement, value: u32); # [wasm_bindgen (structural , method , getter , js_class = "HTMLInputElement" , 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/HTMLInputElement/willValidate)"] #[doc = ""] #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"] pub fn will_validate(this: &HtmlInputElement) -> bool; #[cfg(feature = "ValidityState")] # [wasm_bindgen (structural , method , getter , js_class = "HTMLInputElement" , 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/HTMLInputElement/validity)"] #[doc = ""] #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`, `ValidityState`*"] pub fn validity(this: &HtmlInputElement) -> ValidityState; # [wasm_bindgen (structural , catch , method , getter , js_class = "HTMLInputElement" , 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/HTMLInputElement/validationMessage)"] #[doc = ""] #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"] pub fn validation_message(this: &HtmlInputElement) -> Result<String, JsValue>; #[cfg(feature = "NodeList")] # [wasm_bindgen (structural , method , getter , js_class = "HTMLInputElement" , 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/HTMLInputElement/labels)"] #[doc = ""] #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`, `NodeList`*"] pub fn labels(this: &HtmlInputElement) -> Option<NodeList>; # [wasm_bindgen (structural , catch , method , getter , js_class = "HTMLInputElement" , js_name = selectionStart)] #[doc = "Getter for the `selectionStart` field of this object."] #[doc = ""] #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/selectionStart)"] #[doc = ""] #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"] pub fn selection_start(this: &HtmlInputElement) -> Result<Option<u32>, JsValue>; # [wasm_bindgen (structural , catch , method , setter , js_class = "HTMLInputElement" , js_name = selectionStart)] #[doc = "Setter for the `selectionStart` field of this object."] #[doc = ""] #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/selectionStart)"] #[doc = ""] #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"] pub fn set_selection_start(this: &HtmlInputElement, value: Option<u32>) -> Result<(), JsValue>; # [wasm_bindgen (structural , catch , method , getter , js_class = "HTMLInputElement" , js_name = selectionEnd)] #[doc = "Getter for the `selectionEnd` field of this object."] #[doc = ""] #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/selectionEnd)"] #[doc = ""] #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"] pub fn selection_end(this: &HtmlInputElement) -> Result<Option<u32>, JsValue>; # [wasm_bindgen (structural , catch , method , setter , js_class = "HTMLInputElement" , js_name = selectionEnd)] #[doc = "Setter for the `selectionEnd` field of this object."] #[doc = ""] #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/selectionEnd)"] #[doc = ""] #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"] pub fn set_selection_end(this: &HtmlInputElement, value: Option<u32>) -> Result<(), JsValue>; # [wasm_bindgen (structural , catch , method , getter , js_class = "HTMLInputElement" , js_name = selectionDirection)] #[doc = "Getter for the `selectionDirection` field of this object."] #[doc = ""] #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/selectionDirection)"] #[doc = ""] #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"] pub fn selection_direction(this: &HtmlInputElement) -> Result<Option<String>, JsValue>; # [wasm_bindgen (structural , catch , method , setter , js_class = "HTMLInputElement" , js_name = selectionDirection)] #[doc = "Setter for the `selectionDirection` field of this object."] #[doc = ""] #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/selectionDirection)"] #[doc = ""] #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"] pub fn set_selection_direction( this: &HtmlInputElement, value: Option<&str>, ) -> Result<(), JsValue>; # [wasm_bindgen (structural , method , getter , js_class = "HTMLInputElement" , js_name = align)] #[doc = "Getter for the `align` field of this object."] #[doc = ""] #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/align)"] #[doc = ""] #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"] pub fn align(this: &HtmlInputElement) -> String; # [wasm_bindgen (structural , method , setter , js_class = "HTMLInputElement" , js_name = align)] #[doc = "Setter for the `align` field of this object."] #[doc = ""] #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/align)"] #[doc = ""] #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"] pub fn set_align(this: &HtmlInputElement, value: &str); # [wasm_bindgen (structural , method , getter , js_class = "HTMLInputElement" , js_name = useMap)] #[doc = "Getter for the `useMap` field of this object."] #[doc = ""] #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/useMap)"] #[doc = ""] #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"] pub fn use_map(this: &HtmlInputElement) -> String; # [wasm_bindgen (structural , method , setter , js_class = "HTMLInputElement" , js_name = useMap)] #[doc = "Setter for the `useMap` field of this object."] #[doc = ""] #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/useMap)"] #[doc = ""] #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"] pub fn set_use_map(this: &HtmlInputElement, value: &str); # [wasm_bindgen (structural , method , getter , js_class = "HTMLInputElement" , js_name = webkitEntries)] #[doc = "Getter for the `webkitEntries` field of this object."] #[doc = ""] #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/webkitEntries)"] #[doc = ""] #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"] pub fn webkit_entries(this: &HtmlInputElement) -> ::js_sys::Array; # [wasm_bindgen (structural , method , getter , js_class = "HTMLInputElement" , js_name = webkitdirectory)] #[doc = "Getter for the `webkitdirectory` field of this object."] #[doc = ""] #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/webkitdirectory)"] #[doc = ""] #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"] pub fn webkitdirectory(this: &HtmlInputElement) -> bool; # [wasm_bindgen (structural , method , setter , js_class = "HTMLInputElement" , js_name = webkitdirectory)] #[doc = "Setter for the `webkitdirectory` field of this object."] #[doc = ""] #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/webkitdirectory)"] #[doc = ""] #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"] pub fn set_webkitdirectory(this: &HtmlInputElement, value: bool); # [wasm_bindgen (method , structural , js_class = "HTMLInputElement" , js_name = checkValidity)] #[doc = "The `checkValidity()` method."] #[doc = ""] #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/checkValidity)"] #[doc = ""] #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"] pub fn check_validity(this: &HtmlInputElement) -> bool; # [wasm_bindgen (method , structural , js_class = "HTMLInputElement" , js_name = reportValidity)] #[doc = "The `reportValidity()` method."] #[doc = ""] #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/reportValidity)"] #[doc = ""] #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"] pub fn report_validity(this: &HtmlInputElement) -> bool; # [wasm_bindgen (method , structural , js_class = "HTMLInputElement" , js_name = select)] #[doc = "The `select()` method."] #[doc = ""] #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/select)"] #[doc = ""] #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"] pub fn select(this: &HtmlInputElement); # [wasm_bindgen (method , structural , js_class = "HTMLInputElement" , js_name = setCustomValidity)] #[doc = "The `setCustomValidity()` method."] #[doc = ""] #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/setCustomValidity)"] #[doc = ""] #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"] pub fn set_custom_validity(this: &HtmlInputElement, error: &str); # [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`*"] pub fn set_range_text(this: &HtmlInputElement, replacement: &str) -> Result<(), JsValue>; # [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`*"] pub fn set_range_text_with_start_and_end( this: &HtmlInputElement, replacement: &str, start: u32, end: u32, ) -> Result<(), JsValue>; # [wasm_bindgen (catch , method , structural , js_class = "HTMLInputElement" , js_name = setSelectionRange)] #[doc = "The `setSelectionRange()` method."] #[doc = ""] #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/setSelectionRange)"] #[doc = ""] #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"] pub fn set_selection_range( this: &HtmlInputElement, start: u32, end: u32, ) -> Result<(), JsValue>; # [wasm_bindgen (catch , method , structural , js_class = "HTMLInputElement" , js_name = setSelectionRange)] #[doc = "The `setSelectionRange()` method."] #[doc = ""] #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/setSelectionRange)"] #[doc = ""] #[doc = "*This API requires the following crate features to be activated: `HtmlInputElement`*"] pub fn set_selection_range_with_direction( this: &HtmlInputElement, start: u32, end: u32, direction: &str, ) -> Result<(), JsValue>; }