Class: JetUi::Popover::Component

Inherits:
BaseComponent
  • Object
show all
Defined in:
app/components/jet_ui/popover/component.rb

Instance Method Summary collapse

Constructor Details

#initialize(placement: :bottom, **options) ⇒ Component

Returns a new instance of Component.



6
7
8
9
# File 'app/components/jet_ui/popover/component.rb', line 6

def initialize(placement: :bottom, **options)
  @placement = placement
  @options = options
end