@microsoft/fast-foundation > Button

Button class

An Button Custom HTML Element. Based largely on the <button> element.

Signature:
export declare class Button extends FormAssociated<HTMLInputElement>

Properties

PropertyModifiersTypeDescription
autofocusbooleanDetermines if the element should receive document focus on page load.
formactionstringSee <button> element for more details.
formenctypestringSee <button> element for more details.
formIdstringThe id of a form to associate the element to.
formmethodstringSee <button> element for more details.
formnovalidatebooleanSee <button> element for more details.
formtarget"_self" | "_blank" | "_parent" | "_top"See <button> element for more details.
proxyHTMLInputElement
type"submit" | "reset" | "button"The button type.