Popover

특정 UI 요소 위에서 해당 요소에 대한 추가적인 정보나 액션을 제공합니다. 단순히 정보를 보여주는 Tooltip과 달리, 내부에 버튼과 같이 사용자가 상호작용할 수 있는 콘텐츠를 포함할 수 있습니다.

enum Popover

Associated Extensions

extension View
func popoverNormal(isPresented: Binding<Bool>, heading: String, text: String, closeButton: Bool, action: (title: String, action: () -> Void)?, subAction: (title: String, action: () -> Void)?) -> some View

일반적인 팝오버 모디파이어를 초기화합니다.

  • Parameters

    ParameterDescription
    isPresented팝오버 표시 여부에 대한 바인딩
    heading팝오버 제목
    text팝오버 텍스트
    closeButton팝오버 닫기 버튼 표시 여부
    action팝오버 행동 버튼 표시 여부
    subAction팝오버 보조 행동 버튼 표시 여부
  • Return Value

    일반적인 팝오버 모디파이어

func popoverCustom<V>(isPresented: Binding<Bool>, content: () -> V) -> some View

사용자 정의 팝오버 모디파이어를 초기화합니다.

  • Parameters

    ParameterDescription
    isPresented팝오버 표시 여부에 대한 바인딩
    content팝오버 콘텐츠를 반환하는 클로저
  • Return Value

    사용자 정의 팝오버 모디파이어

© 2026 Wanted Lab, Inc.