Sha256: fa8e4f4250824b01fb6700b572343ecc030e41170e347b569a62a524f619526a

Contents?: true

Size: 391 Bytes

Versions: 23

Compression:

Stored size: 391 Bytes

Contents

<%= pb_rails("button", props: { text: "Click me then click outside", variant: "secondary", id: 'outside-popover-1' }) %>
<%= pb_rails("popover", props: {
  close_on_click: "outside",
  trigger_element_id: "outside-popover-1",
  tooltip_id: "outside-tooltip-1",
  position: 'right',
  offset: false
}) do %>
    Whoa. I'm a popover that can be closed by clicking outside of me.
<% end %>




Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
playbook_ui-4.8.1 app/pb_kits/playbook/pb_popover/docs/_popover_click_outside.html.erb
playbook_ui-4.7.1 app/pb_kits/playbook/pb_popover/docs/_popover_click_outside.html.erb
playbook_ui-4.7.0 app/pb_kits/playbook/pb_popover/docs/_popover_click_outside.html.erb