class Ariadne::UI::Popover::Component
def popover_placement
def popover_placement placement = case @position when :above then "top" when :below then "bottom" else "bottom" end placement += "-start" if @alignment == :left placement += "-end" if @alignment == :right placement end