Sha256: 0513a94c5659f2a3877f4aa8da1f2c9de1e2b0ab277033b52a61f96fc9402683

Contents?: true

Size: 953 Bytes

Versions: 1194

Compression:

Stored size: 953 Bytes

Contents

<%= pb_rails("flex", props: {
    dark: true,
    orientation: "row",
    vertical: "center"
    }) do %>
    <%= pb_rails("body", props: { text: "Click info for more details" }) %>
    &nbsp;
    <%= pb_rails("circle_icon_button", props: {
        variant: "secondary",
        icon: "info",
        id: "actionable-popover-1"
    }) %>
    <%= pb_rails("popover", props: {
        close_on_click: "any",
        trigger_element_id: "actionable-popover-1",
        tooltip_id: "actionable-tooltip-1",
        offset: true,
        position: "top"
    }) do %>
        <%= pb_rails("button", props: { id: "actionable-tooltip-button", text: "Learn more" }) %>
    <% end %>
<% end %>

<%= javascript_tag do %>
    document.addEventListener('DOMContentLoaded', function () {
        document.querySelector('#actionable-tooltip-button').addEventListener('click', function (e) {
            alert("Let's do this")
        }, { once: true })
    })
<% end %>

Version data entries

1,194 entries across 1,194 versions & 2 rubygems

Version Path
playbook_ui_docs-14.11.1.pre.alpha.PLAY17445539 app/pb_kits/playbook/pb_popover/docs/_popover_actionable_content.html.erb
playbook_ui-14.11.1.pre.alpha.PLAY17445539 app/pb_kits/playbook/pb_popover/docs/_popover_actionable_content.html.erb
playbook_ui_docs-14.11.1.pre.alpha.PBNTR798datepickerturbo5537 app/pb_kits/playbook/pb_popover/docs/_popover_actionable_content.html.erb
playbook_ui-14.11.1.pre.alpha.PBNTR798datepickerturbo5537 app/pb_kits/playbook/pb_popover/docs/_popover_actionable_content.html.erb
playbook_ui_docs-14.11.1.pre.alpha.pbntr703collapsiblerowsrails5536 app/pb_kits/playbook/pb_popover/docs/_popover_actionable_content.html.erb
playbook_ui-14.11.1.pre.alpha.pbntr703collapsiblerowsrails5536 app/pb_kits/playbook/pb_popover/docs/_popover_actionable_content.html.erb
playbook_ui_docs-14.11.1.pre.alpha.PLAY1751pbcontenttagpt25529 app/pb_kits/playbook/pb_popover/docs/_popover_actionable_content.html.erb
playbook_ui-14.11.1.pre.alpha.PLAY1751pbcontenttagpt25529 app/pb_kits/playbook/pb_popover/docs/_popover_actionable_content.html.erb
playbook_ui_docs-14.11.1.pre.alpha.PBNTR7495495 app/pb_kits/playbook/pb_popover/docs/_popover_actionable_content.html.erb
playbook_ui-14.11.1.pre.alpha.PBNTR7495495 app/pb_kits/playbook/pb_popover/docs/_popover_actionable_content.html.erb
playbook_ui_docs-14.12.0.pre.rc.11 app/pb_kits/playbook/pb_popover/docs/_popover_actionable_content.html.erb
playbook_ui-14.12.0.pre.rc.11 app/pb_kits/playbook/pb_popover/docs/_popover_actionable_content.html.erb
playbook_ui_docs-14.12.0.pre.rc.10 app/pb_kits/playbook/pb_popover/docs/_popover_actionable_content.html.erb
playbook_ui-14.12.0.pre.rc.10 app/pb_kits/playbook/pb_popover/docs/_popover_actionable_content.html.erb
playbook_ui_docs-14.12.0.pre.rc.9 app/pb_kits/playbook/pb_popover/docs/_popover_actionable_content.html.erb
playbook_ui-14.12.0.pre.rc.9 app/pb_kits/playbook/pb_popover/docs/_popover_actionable_content.html.erb
playbook_ui_docs-14.12.0.pre.rc.8 app/pb_kits/playbook/pb_popover/docs/_popover_actionable_content.html.erb
playbook_ui-14.12.0.pre.rc.8 app/pb_kits/playbook/pb_popover/docs/_popover_actionable_content.html.erb
playbook_ui_docs-14.12.0.pre.rc.7 app/pb_kits/playbook/pb_popover/docs/_popover_actionable_content.html.erb
playbook_ui-14.12.0.pre.rc.7 app/pb_kits/playbook/pb_popover/docs/_popover_actionable_content.html.erb