LoginOverlayAttributes

Attribute names of <vaadin-login-overlay>, for use with setAttribute.

Properties

Link copied to clipboard
const val action: String

If set, a synchronous POST call will be fired to the path defined. The login event is also dispatched, so event.preventDefault() can be called to prevent the POST call.

Link copied to clipboard
const val description: String

Defines the application description

Link copied to clipboard
const val disabled: String

If set, disable the "Log in" button and prevent user from submitting login form. It is re-enabled automatically, when error is set to true, allowing form resubmission after user makes changes.

Link copied to clipboard
const val error: String

If set, the error message is shown. The message is hidden by default. When set, it changes the disabled state of the submit button.

Link copied to clipboard
const val headingLevel: String

Sets the root heading level (aria-level) for the heading hierarchy. Default value: 1. Child headings automatically increment from this base level i.e. standalone login form renders its title as <h1>, whereas the form in the overlay uses <h2>, as the <h1> element is used by the overlay's own title.

Link copied to clipboard
const val i18n: String

The object used to localize this component. To change the default localization, replace this with an object that provides all properties, or just the individual properties you want to change.

Link copied to clipboard
const val noAutofocus: String

If set, the user name field automatically receives focus when the component is attached to the document.

Link copied to clipboard

Whether to hide the forgot password button. The button is visible by default.

Link copied to clipboard
const val opened: String

True if the overlay is currently displayed.

Link copied to clipboard
const val theme: String

The theme variants to apply to the component.

Link copied to clipboard
const val title: String

Defines the application title