Skip to content

Popover

Presents a native SwiftUI popover from a composed SwiftUI trigger.

#Import

Import SwiftUiPopover from quickgui.

use quickgui::*;

#Usage

SwiftUiPopover::new(1)

#Anatomy

  • SwiftUiPopover.trigger
  • SwiftUiPopover.content

#API reference

Expand an entry for its description and complete signature. A dash means no declaration default is documented.

SwiftUiPopover

View source
pub fn new(id: u64) -> Self