The Footer component validates the entered email and submits it through
_subscribeToNewsletter. While a request is active, another submission is
ignored.After a successful request, the form clears the email, stops loading, and shows
the localized emailValid message. After an HTTP or network failure, it stops
loading, keeps the email for retry, and shows the localized
newsletterSubscriptionError message. Starting a new submission clears the
previous request error.The form continues to show the localized mailError message for an invalid
email address.JavaScript Methods#
getPositionOfElements(array): Controls whether the menu, logo, newsletter,
and icon areas are rendered.
handleImageError(): Marks a logo or icon image as unavailable.
getUrl(): Selects the localized Shopranos website URL.
subscribeEmail(): Validates and submits the newsletter email, and manages
loading, success, and failure state.
validEmail(email): Applies the component's local email format validation.
getImage(icon): Returns the configured icon link or the default missing
image path.
Modified at 2026-11-25 09:46:10