@Tag(value="vaadin-login")
@HtmlImport(value="frontend://bower_components/vaadin-login/src/vaadin-login.html")
public class Login
extends com.vaadin.flow.component.Component
<vaadin-login> component.| Modifier and Type | Class and Description |
|---|---|
static class |
Login.ForgotPasswordEvent
`forgot-password` is fired when the user clicks Forgot password button
|
| Constructor and Description |
|---|
Login()
Initializes a new Login.
|
Login(LoginI18n i18n)
Initializes a new Login.
|
| Modifier and Type | Method and Description |
|---|---|
com.vaadin.flow.shared.Registration |
addForgotPasswordListener(com.vaadin.flow.component.ComponentEventListener<Login.ForgotPasswordEvent> listener)
Adds `forgotPassword` event listener
|
void |
setI18n(LoginI18n i18n)
Sets the internationalized messages to be used by this instance.
|
addListener, fireEvent, from, get, getChildren, getElement, getEventBus, getId, getLocale, getParent, getTranslation, getTranslation, getUI, hasListener, isTemplateMapped, isVisible, onAttach, onDetach, onEnabledStateChanged, set, setElement, setId, setVisiblepublic Login()
public Login(LoginI18n i18n)
i18n - internationalized messages to be used by this instance.public void setI18n(LoginI18n i18n)
i18n - the internationalized messagesLoginI18n.createDefault()public com.vaadin.flow.shared.Registration addForgotPasswordListener(com.vaadin.flow.component.ComponentEventListener<Login.ForgotPasswordEvent> listener)
Copyright © 2018 Vaadin Ltd. All rights reserved.