KeygenElement
Interface
Note: This page describes the Keygen Element interface as specified, not as currently implemented by Gecko. See
bug 101019
for details and status.
Extends
Element
Constructors
Code
new KeygenElement() #
Methods
Code
bool checkValidity() #
Always returns true because
keygen
objects are never candidates for constraint validation.
bool checkValidity();
Code
void setCustomValidity(String error) #
Sets a custom validity message for the element. If this message is not the empty string, then the element is suffering from a custom validity error, and does not validate.
void setCustomValidity(String error);
Fields
Code
bool autofocus #
Reflects the
autofocus
HTML attribute, indicating that the form control should have input focus when the page loads.
bool autofocus;
Code
String challenge #
Reflects the
challenge
HTML attribute, containing a challenge string that is packaged with the submitted key.
String challenge;
Code
bool disabled #
Reflects the
disabled
HTML attribute, indicating that the control is not available for interaction.
bool disabled;
Indicates the control's form owner, reflecting the
form
HTML attribute if it is defined.
final FormElement form;
Reflects the
keytype
HTML attribute, containing the type of key used.
String keytype;
Code
final NodeList labels #
A list of label elements associated with this keygen element.
final NodeList labels;
Reflects the
name
HTML attribute, containing the name for the control that is submitted with form data.
String name;
Code
final String type #
Must be the value
keygen
.
final String type;
Code
final String validationMessage #
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.
final String validationMessage;
The validity states that this element is in.
final ValidityState validity;
Code
final bool willValidate #
Always false because
keygen
objects are never candidates for constraint validation.
final bool willValidate;
This page includes content from the
Mozilla Foundation that is graciously
licensed under a
Creative Commons: Attribution-Sharealike license.
Mozilla has no other association with Dart or dartlang.org. We
encourage you to improve the web by
contributing to
The Mozilla Developer Network.