Sha256: 15d3dff7aed2db06db08a151cf4afbc7ada17bcd578cd5ee6ea77f6b5c5a3964
Contents?: true
Size: 714 Bytes
Versions: 4
Compression:
Stored size: 714 Bytes
Contents
<%= content_tag(:div, id: object.id, data: object.data, class: object.classname) do %> <div class="popover_tooltip" id="<%= object.tooltip_id %>" role="tooltip"> <%= pb_rails("card", props: {shadow: "deeper"}) do %> <%= capture(&object.children) %> <% end %> </div> <% end %> <%# Javascript for the Popover Instance %> <% content_for :pb_js do %> <%= javascript_tag do %> window.addEventListener('DOMContentLoaded', function() { new Popover( "#<%= object.trigger_element_id %>", "#<%= object.tooltip_id %>", "<%= object.position %>", <%= object.popover_offset %>, ); }) <% end %> <% end %>
Version data entries
4 entries across 4 versions & 1 rubygems