PopupParameters
public struct PopupParameters
Undocumented
-
Undocumented
Declaration
Swift
public func type(_ type: PopupType) -> PopupParameters
-
Undocumented
Declaration
Swift
public func displayMode(_ displayMode: DisplayMode) -> PopupParameters
-
Undocumented
Declaration
Swift
public func position(_ position: Position) -> PopupParameters
-
Undocumented
Declaration
Swift
public func appearFrom(_ appearFrom: AppearAnimation) -> PopupParameters
-
Undocumented
Declaration
Swift
public func disappearTo(_ disappearTo: AppearAnimation) -> PopupParameters
-
Undocumented
Declaration
Swift
public func animation(_ animation: Animation) -> PopupParameters
-
Undocumented
Declaration
Swift
public func autohideIn(_ autohideIn: Double?) -> PopupParameters
-
Should allow dismiss by dragging - default is
true
Declaration
Swift
public func dragToDismiss(_ dragToDismiss: Bool) -> PopupParameters
-
Minimum distance to drag to dismiss
Declaration
Swift
public func dragToDismissDistance(_ dragToDismissDistance: CGFloat) -> PopupParameters
-
Should close on tap - default is
true
Declaration
Swift
public func closeOnTap(_ closeOnTap: Bool) -> PopupParameters
-
Should close on tap outside - default is
false
Declaration
Swift
public func closeOnTapOutside(_ closeOnTapOutside: Bool) -> PopupParameters
-
Undocumented
Declaration
Swift
public func backgroundColor(_ backgroundColor: Color) -> PopupParameters
-
Undocumented
Declaration
Swift
public func backgroundView<BackgroundView>(_ backgroundView: () -> (BackgroundView)) -> PopupParameters where BackgroundView : View
-
Undocumented
Declaration
Swift
public func useKeyboardSafeArea(_ useKeyboardSafeArea: Bool) -> PopupParameters
-
Undocumented
Declaration
Swift
public func willDismissCallback(_ dismissCallback: @escaping (PopupDismissSource) -> Void) -> PopupParameters
-
Undocumented
Declaration
Swift
public func willDismissCallback(_ dismissCallback: @escaping () -> Void) -> PopupParameters
-
Undocumented
Declaration
Swift
public func dismissCallback(_ dismissCallback: @escaping (PopupDismissSource) -> Void) -> PopupParameters
-
Undocumented
Declaration
Swift
public func dismissCallback(_ dismissCallback: @escaping () -> Void) -> PopupParameters