class js.html.KeygenElement extends Element

Available on js

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.

Instance Fields

var autofocus:Bool

Reflects the

autofocus  HTML attribute, indicating that the form control should have input focus when the page loads.

var challenge:String

Reflects the

challenge HTML attribute, containing a challenge string that is packaged with the submitted key.

var disabled:Bool

Reflects the

disabled  HTML attribute, indicating that the control is not available for interaction.

var form:FormElement

Indicates the control's form owner, reflecting the

form  HTML attribute if it is defined.

var keytype:String

Reflects the

keytype HTML attribute, containing the type of key used.

var labels:NodeList

A list of label elements associated with this keygen element.

var name:String

Reflects the

name HTML attribute, containing the name for the control that is submitted with form data.

var type:String

Must be the value keygen.

var validationMessage: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 validity:ValidityState

The validity states that this element is in.

var willValidate:Bool

Always false because keygen objects are never candidates for constraint validation.

function checkValidity():Bool

function setCustomValidity(error:String):Void