class UI::PopoverPresenter

Overview

Presentation state for a Popover (is_presenting flag + the underlying view).

Defined in:

ui/views/popover.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(popover : Popover, anchor : View | Nil = nil) #

[View source]

Instance Method Detail

def anchor : View | Nil #

[View source]
def anchor=(anchor : View | Nil) #

[View source]
def dismiss #

[View source]
def is_presenting : Bool #

[View source]
def is_presenting=(is_presenting : Bool) #

[View source]
def popover : Popover #

[View source]
def popover=(popover : Popover) #

[View source]
def present #

[View source]