Liking cljdoc? Tell your friends :D

web.dom.HTMLButtonElement

The HTMLButtonElement interface provides properties and methods the regular web.dom.HTMLElement interface it also has available it by inheritance) for manipulating <button> elements.

The HTMLButtonElement interface provides properties and methods
the regular `web.dom.HTMLElement` interface it also has available
it by inheritance) for manipulating `<button>` elements.
raw docstring

access-keycljs

(access-key this)

Property.

Is a DOMString indicating the single-character keyboard key to access to the button.

Property.

Is a DOMString indicating the single-character keyboard key to
access to the button.
sourceraw docstring

autofocuscljs

(autofocus this)

Property.

Is a Boolean indicating whether or not the control should have focus when the page loads, unless the user overrides it, for by typing in a different control. Only one form-associated element a document can have this attribute specified.

Property.

Is a Boolean indicating whether or not the control should have
focus when the page loads, unless the user overrides it, for
by typing in a different control. Only one form-associated element
a document can have this attribute specified.
sourceraw docstring

disabledcljs

(disabled this)

Property.

Is a Boolean indicating whether or not the control is disabled, that it does not accept any clicks.

Property.

Is a Boolean indicating whether or not the control is disabled,
that it does not accept any clicks.
sourceraw docstring

formcljs

(form this)

Property.

Is a HTMLFormElement reflecting the form that this button is with. If the button is a descendant of a form element, then this is the ID of that form element. If the button is not a descendant of a form element, then the can be the ID of any form element in the same document it is to, or the null value if none matches.

Property.

Is a HTMLFormElement reflecting the form that this button is
with. If the button is a descendant of a form element, then this
is the ID of that form element.
If the button is not a descendant of a form element, then the
can be the ID of any form element in the same document it is
to, or the null value if none matches.
sourceraw docstring

form-actioncljs

(form-action this)

Property.

Is a DOMString reflecting the URI of a resource that processes submitted by the button. If specified, this attribute overrides action attribute of the <form> element that owns this element.

Property.

Is a DOMString reflecting the URI of a resource that processes
submitted by the button. If specified, this attribute overrides
action attribute of the <form> element that owns this element.
sourceraw docstring

form-enctypecljs

(form-enctype this)

Property.

Is a DOMString reflecting the type of content that is used to the form to the server. If specified, this attribute overrides enctype attribute of the <form> element that owns this element.

Property.

Is a DOMString reflecting the type of content that is used to
the form to the server. If specified, this attribute overrides
enctype attribute of the <form> element that owns this element.
sourceraw docstring

form-methodcljs

(form-method this)

Property.

Is a DOMString reflecting the HTTP method that the browser uses submit the form. If specified, this attribute overrides the method of the <form> element that owns this element.

Property.

Is a DOMString reflecting the HTTP method that the browser uses
submit the form. If specified, this attribute overrides the method
of the <form> element that owns this element.
sourceraw docstring

form-no-validatecljs

(form-no-validate this)

Property.

Is a Boolean indicating that the form is not to be validated it is submitted. If specified, this attribute overrides the novalidate of the <form> element that owns this element.

Property.

Is a Boolean indicating that the form is not to be validated
it is submitted. If specified, this attribute overrides the novalidate
of the <form> element that owns this element.
sourceraw docstring

form-targetcljs

(form-target this)

Property.

Is a DOMString reflecting a name or keyword indicating where display the response that is received after submitting the form. specified, this attribute overrides the target attribute of the element that owns this element.

Property.

Is a DOMString reflecting a name or keyword indicating where
display the response that is received after submitting the form.
specified, this attribute overrides the target attribute of the
element that owns this element.
sourceraw docstring

labelscljs

(labels this)

Property.

[Read Only]

The HTMLButtonElement.labels read-only property returns a web.NodeList the <label> elements associated with the <button> element.

var labelElements = button.labels;

See also: https://developer.mozilla.org/en-US/docs/Web/API/HTMLButtonElement/labels

Property.

[Read Only]

The HTMLButtonElement.labels read-only property returns a `web.NodeList`
the `<label>` elements associated with the `<button>` element.

`var labelElements = button.labels;`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/HTMLButtonElement/labels`
sourceraw docstring

(menu this)

Property.

Is a HTMLMenuElement representing the menu element to be displayed the button is clicked and is of type="menu".

Property.

Is a HTMLMenuElement representing the menu element to be displayed
the button is clicked and is of type="menu".
sourceraw docstring

namecljs

(name this)

Property.

Is a DOMString representing the name of the object when submitted a form. HTML5 If specified, it must not be the empty string.

Property.

Is a DOMString representing the name of the object when submitted
a form. HTML5 If specified, it must not be the empty string.
sourceraw docstring

set-access-key!cljs

(set-access-key! this val)

Property.

Is a DOMString indicating the single-character keyboard key to access to the button.

Property.

Is a DOMString indicating the single-character keyboard key to
access to the button.
sourceraw docstring

set-autofocus!cljs

(set-autofocus! this val)

Property.

Is a Boolean indicating whether or not the control should have focus when the page loads, unless the user overrides it, for by typing in a different control. Only one form-associated element a document can have this attribute specified.

Property.

Is a Boolean indicating whether or not the control should have
focus when the page loads, unless the user overrides it, for
by typing in a different control. Only one form-associated element
a document can have this attribute specified.
sourceraw docstring

set-disabled!cljs

(set-disabled! this val)

Property.

Is a Boolean indicating whether or not the control is disabled, that it does not accept any clicks.

Property.

Is a Boolean indicating whether or not the control is disabled,
that it does not accept any clicks.
sourceraw docstring

set-form!cljs

(set-form! this val)

Property.

Is a HTMLFormElement reflecting the form that this button is with. If the button is a descendant of a form element, then this is the ID of that form element. If the button is not a descendant of a form element, then the can be the ID of any form element in the same document it is to, or the null value if none matches.

Property.

Is a HTMLFormElement reflecting the form that this button is
with. If the button is a descendant of a form element, then this
is the ID of that form element.
If the button is not a descendant of a form element, then the
can be the ID of any form element in the same document it is
to, or the null value if none matches.
sourceraw docstring

set-form-action!cljs

(set-form-action! this val)

Property.

Is a DOMString reflecting the URI of a resource that processes submitted by the button. If specified, this attribute overrides action attribute of the <form> element that owns this element.

Property.

Is a DOMString reflecting the URI of a resource that processes
submitted by the button. If specified, this attribute overrides
action attribute of the <form> element that owns this element.
sourceraw docstring

set-form-enctype!cljs

(set-form-enctype! this val)

Property.

Is a DOMString reflecting the type of content that is used to the form to the server. If specified, this attribute overrides enctype attribute of the <form> element that owns this element.

Property.

Is a DOMString reflecting the type of content that is used to
the form to the server. If specified, this attribute overrides
enctype attribute of the <form> element that owns this element.
sourceraw docstring

set-form-method!cljs

(set-form-method! this val)

Property.

Is a DOMString reflecting the HTTP method that the browser uses submit the form. If specified, this attribute overrides the method of the <form> element that owns this element.

Property.

Is a DOMString reflecting the HTTP method that the browser uses
submit the form. If specified, this attribute overrides the method
of the <form> element that owns this element.
sourceraw docstring

set-form-no-validate!cljs

(set-form-no-validate! this val)

Property.

Is a Boolean indicating that the form is not to be validated it is submitted. If specified, this attribute overrides the novalidate of the <form> element that owns this element.

Property.

Is a Boolean indicating that the form is not to be validated
it is submitted. If specified, this attribute overrides the novalidate
of the <form> element that owns this element.
sourceraw docstring

set-form-target!cljs

(set-form-target! this val)

Property.

Is a DOMString reflecting a name or keyword indicating where display the response that is received after submitting the form. specified, this attribute overrides the target attribute of the element that owns this element.

Property.

Is a DOMString reflecting a name or keyword indicating where
display the response that is received after submitting the form.
specified, this attribute overrides the target attribute of the
element that owns this element.
sourceraw docstring

set-menu!cljs

(set-menu! this val)

Property.

Is a HTMLMenuElement representing the menu element to be displayed the button is clicked and is of type="menu".

Property.

Is a HTMLMenuElement representing the menu element to be displayed
the button is clicked and is of type="menu".
sourceraw docstring

set-name!cljs

(set-name! this val)

Property.

Is a DOMString representing the name of the object when submitted a form. HTML5 If specified, it must not be the empty string.

Property.

Is a DOMString representing the name of the object when submitted
a form. HTML5 If specified, it must not be the empty string.
sourceraw docstring

set-tab-index!cljs

(set-tab-index! this val)

Property.

Is a long that represents this element's position in the tabbing

Property.

Is a long that represents this element's position in the tabbing
sourceraw docstring

set-type!cljs

(set-type! this val)

Property.

Is a DOMString indicating the behavior of the button. This is enumerated attribute with the following possible values: "submit": The button submits the form. This is the default value the attribute is not specified, HTML5 or if it is dynamically to an empty or invalid value. "reset": The button resets the form. "button": The button does nothing. "menu": The button displays a menu.

Property.

Is a DOMString indicating the behavior of the button. This is
enumerated attribute with the following possible values:
"submit": The button submits the form. This is the default value
the attribute is not specified, HTML5 or if it is dynamically
to an empty or invalid value.
"reset": The button resets the form.
"button": The button does nothing.
"menu": The button displays a menu.
sourceraw docstring

set-validation-message!cljs

(set-validation-message! this val)

Property.

Is a DOMString representing the localized message that describes validation constraints that the control does not satisfy (if This attribute is the empty string if the control is not a candidate constraint validation (willValidate is false), or it satisfies constraints.

Property.

Is a DOMString representing the localized message that describes
validation constraints that the control does not satisfy (if
This attribute is the empty string if the control is not a candidate
constraint validation (willValidate is false), or it satisfies
constraints.
sourceraw docstring

set-validity!cljs

(set-validity! this val)

Property.

Is a ValidityState representing the validity states that this is in.

Property.

Is a ValidityState representing the validity states that this
is in.
sourceraw docstring

set-value!cljs

(set-value! this val)

Property.

Is a DOMString representing the current form control value of button.

Property.

Is a DOMString representing the current form control value of
button.
sourceraw docstring

set-will-validate!cljs

(set-will-validate! this val)

Property.

Is a Boolean indicating whether the button is a candidate for validation. It is false if any conditions bar it from constraint including: its type property is reset or button; it has a datalist or the disabled property is set to true.

Property.

Is a Boolean indicating whether the button is a candidate for
validation. It is false if any conditions bar it from constraint
including: its type property is reset or button; it has a datalist
or the disabled property is set to true.
sourceraw docstring

tab-indexcljs

(tab-index this)

Property.

Is a long that represents this element's position in the tabbing

Property.

Is a long that represents this element's position in the tabbing
sourceraw docstring

typecljs

(type this)

Property.

Is a DOMString indicating the behavior of the button. This is enumerated attribute with the following possible values: "submit": The button submits the form. This is the default value the attribute is not specified, HTML5 or if it is dynamically to an empty or invalid value. "reset": The button resets the form. "button": The button does nothing. "menu": The button displays a menu.

Property.

Is a DOMString indicating the behavior of the button. This is
enumerated attribute with the following possible values:
"submit": The button submits the form. This is the default value
the attribute is not specified, HTML5 or if it is dynamically
to an empty or invalid value.
"reset": The button resets the form.
"button": The button does nothing.
"menu": The button displays a menu.
sourceraw docstring

validation-messagecljs

(validation-message this)

Property.

Is a DOMString representing the localized message that describes validation constraints that the control does not satisfy (if This attribute is the empty string if the control is not a candidate constraint validation (willValidate is false), or it satisfies constraints.

Property.

Is a DOMString representing the localized message that describes
validation constraints that the control does not satisfy (if
This attribute is the empty string if the control is not a candidate
constraint validation (willValidate is false), or it satisfies
constraints.
sourceraw docstring

validitycljs

(validity this)

Property.

Is a ValidityState representing the validity states that this is in.

Property.

Is a ValidityState representing the validity states that this
is in.
sourceraw docstring

valuecljs

(value this)

Property.

Is a DOMString representing the current form control value of button.

Property.

Is a DOMString representing the current form control value of
button.
sourceraw docstring

will-validatecljs

(will-validate this)

Property.

Is a Boolean indicating whether the button is a candidate for validation. It is false if any conditions bar it from constraint including: its type property is reset or button; it has a datalist or the disabled property is set to true.

Property.

Is a Boolean indicating whether the button is a candidate for
validation. It is false if any conditions bar it from constraint
including: its type property is reset or button; it has a datalist
or the disabled property is set to true.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close