Skip to content

Popup Customization

Tomasz K. edited this page Oct 31, 2024 · 32 revisions

Czas to iluzja - oznajmił. Tym bardziej czas lunchu.

Popup Customization

Overview

Popups can be customized from two places: globally during Setup or individually, during Popup Declaration. If a method with the same name is called locally, then the global setting for that popup will be overridden.

Globally

Overview

Code Example

Available Methods

  • popupHorizontalPadding(_ value: CGFloat) -> Self
    • Sets the horizontal padding of the popup.
    • For Top, Centre and Bottom popups.
  • cornerRadius(_ value: CGFloat) -> Self
    • a
    • a
  • backgroundColor(_ color: Color) -> Self
    • a
    • a
  • overlayColor(_ color: Color) -> Self
    • a
    • a
  • tapOutsideToDismissPopup(_ value: Bool) -> Self
    • a
    • a

For Top, Centre and Bottom popups

For Top and Bottom popups

Usage

Locally

Vertical & Centre

Only Vertical

Usage

See also

Clone this wiki locally