| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126 | /* * Copyright (C)2005-2019 Haxe Foundation * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Software without restriction, including without limitation * the rights to use, copy, modify, merge, publish, distribute, sublicense, * and/or sell copies of the Software, and to permit persons to whom the * Software is furnished to do so, subject to the following conditions: * * The above copyright notice and this permission notice shall be included in * all copies or substantial portions of the Software. * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER * DEALINGS IN THE SOFTWARE. */// This file is generated from mozilla\HTMLInputElement.webidl. Do not edit!package js.html;/**	The `HTMLInputElement` interface provides special properties and methods for manipulating the layout and presentation of input elements.	Documentation [HTMLInputElement](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement) by [Mozilla Contributors](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement$history), licensed under [CC-BY-SA 2.5](https://creativecommons.org/licenses/by-sa/2.5/).	@see <https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement>**/@:native("HTMLInputElement")extern class InputElement extends Element {	var accept : String;	var alt : String;	var autocomplete : String;	var autofocus : Bool;	var defaultChecked : Bool;	var checked : Bool;	var disabled : Bool;	var form(default,null) : FormElement;	var files : FileList;	var formAction : String;	var formEnctype : String;	var formMethod : String;	var formNoValidate : Bool;	var formTarget : String;	var height : Int;	var indeterminate : Bool;	var list(default,null) : Element;	var max : String;	var maxLength : Int;	var min : String;	var minLength : Int;	var multiple : Bool;	var name : String;	var pattern : String;	var placeholder : String;	var readOnly : Bool;	var required : Bool;	var size : Int;	var src : String;	var step : String;	var type : String;	var defaultValue : String;	var value : String;	var valueAsDate : Date;	var valueAsNumber : Float;	var width : Int;	var willValidate(default,null) : Bool;	var validity(default,null) : ValidityState;	var validationMessage(default,null) : String;	var labels(default,null) : NodeList;	var selectionStart : Int;	var selectionEnd : Int;	var selectionDirection : String;		/**		`string:` represents the alignment of the element. Use CSS instead.	**/	var align : String;		/**		`string:` represents a client-side image map.	**/	var useMap : String;	var textLength(default,null) : Int;			/**		Increments the `value` by (`step` * n), where n defaults to 1 if not specified. Throws an INVALID_STATE_ERR exception:		 		  if the method is not applicable to for the current `type` value.,		  if the element has no `step` value,		  if the `value` cannot be converted to a number,		  if the resulting value is above the `max` or below the `min`.		 		 		@throws DOMError	**/	function stepUp( n : Int = 1 ) : Void;		/**		Decrements the `value` by (`step` * n), where n defaults to 1 if not specified. Throws an INVALID_STATE_ERR exception:		 		  if the method is not applicable to for the current `type` value,		  if the element has no `step` value,		  if the `value` cannot be converted to a number,		  if the resulting value is above the `max` or below the `min`. 		 		 		@throws DOMError	**/	function stepDown( n : Int = 1 ) : Void;	function checkValidity() : Bool;	function reportValidity() : Bool;	function setCustomValidity( error : String ) : Void;	function select() : Void;	/** @throws DOMError */	@:overload( function( replacement : String ) : Void {} )	function setRangeText( replacement : String, start : Int, end : Int, selectionMode : SelectionMode = PRESERVE ) : Void;	/** @throws DOMError */	function setSelectionRange( start : Int, end : Int, ?direction : String ) : Void;}
 |