Interface ReplaceableLoginOverlay

All Superinterfaces:
HasElement, Serializable
All Known Implementing Classes:
ExtendedLoginOverlay, LoginLayout

public interface ReplaceableLoginOverlay extends HasElement
Mixin interface providing methods for replacing contents of the LoginOverlay.
Author:
mlopez
  • Method Details

    • replaceFormComponents

      default void replaceFormComponents(HasElement... withElement)
      Replaces the contents of the login form with the provided elements. Clears existing form contents and appends the provided elements.
      Parameters:
      withElement - the elements to add to the form
    • replaceHeaderComponent

      default void replaceHeaderComponent(HasElement withElement)
      Replaces the header/brand component of the login overlay. Clears the brand section and appends the provided element.
      Parameters:
      withElement - the element to set as the new brand/header
    • removeForgotPassword

      default void removeForgotPassword()
      Removes the forgot password link from the login form.
    • replaceForgotPassword

      default void replaceForgotPassword(HasElement withElement)
      Replaces the forgot password component in the login overlay. Clears the forgot password section and appends the provided element.
      Parameters:
      withElement - the element to set as the new forgot password component
    • removeSubmitButton

      default void removeSubmitButton()
      Removes the default submit button.