Sha256: fe833a98a85432c6c3062e1c0f228f9558125c59227fdd8d2fe8ffba10cedf30

Contents?: true

Size: 327 Bytes

Versions: 12

Compression:

Stored size: 327 Bytes

Contents

<%= render component_tag(x: {
  data: "popover({target: #{target.to_json}, trigger: #{trigger.to_json}, options: #{options.to_json}})",
  "@popover:show.document": "show",
  "@popover:hide.document": "hide",
  "@popover:toggle.document": "toggle"
  }) do %>
  <div x-data="popoverContent">
    <%= content %>
  </div>
<% end %>

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
coveragebook_components-0.19.8 app/components/coco/messaging/popover/popover.html.erb
coveragebook_components-0.19.7 app/components/coco/messaging/popover/popover.html.erb
coveragebook_components-0.19.6 app/components/coco/messaging/popover/popover.html.erb
coveragebook_components-0.19.5 app/components/coco/messaging/popover/popover.html.erb
coveragebook_components-0.19.4 app/components/coco/messaging/popover/popover.html.erb
coveragebook_components-0.19.3 app/components/coco/messaging/popover/popover.html.erb
coveragebook_components-0.19.2 app/components/coco/messaging/popover/popover.html.erb
coveragebook_components-0.19.1 app/components/coco/messaging/popover/popover.html.erb
coveragebook_components-0.19.0 app/components/coco/messaging/popover/popover.html.erb
coveragebook_components-0.18.8 app/components/coco/messaging/popover/popover.html.erb
coveragebook_components-0.18.7 app/components/coco/messaging/popover/popover.html.erb
coveragebook_components-0.18.0 app/components/coco/messaging/popover/popover.html.erb