/*
* Copyright (C)2005-2013 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, do not edit!
package js.html;
/** Note: This page describes the Keygen Element interface as specified, not as currently implemented by Gecko. See
bug 101019
for details and status.
Documentation for this class was provided by MDN. */
@:native("HTMLKeygenElement")
extern class KeygenElement extends Element
{
/** Reflects the
autofocus
HTML attribute, indicating that the form control should have input focus when the page loads. */
var autofocus : Bool;
/** Reflects the
challenge
HTML attribute, containing a challenge string that is packaged with the submitted key. */
var challenge : String;
/** Reflects the
disabled
HTML attribute, indicating that the control is not available for interaction. */
var disabled : Bool;
/** Indicates the control's form owner, reflecting the
form
HTML attribute if it is defined. */
var form(default,null) : FormElement;
/** Reflects the
keytype
HTML attribute, containing the type of key used. */
var keytype : String;
/** A list of label elements associated with this keygen element. */
var labels(default,null) : NodeList;
/** Reflects the
name
HTML attribute, containing the name for the control that is submitted with form data. */
var name : String;
/** Must be the value keygen. */
var type(default,null) : String;
/** A localized message that describes the validation constraints that the control does not satisfy (if any). This is the empty string if the control is not a candidate for constraint validation (willValidate is false), or it satisfies its constraints. */
var validationMessage(default,null) : String;
/** The validity states that this element is in. */
var validity(default,null) : ValidityState;
/** Always false because keygen objects are never candidates for constraint validation. */
var willValidate(default,null) : Bool;
function checkValidity() : Bool;
function setCustomValidity( error : String ) : Void;
}