Sha256: 0682638263e13a468d2ee344eeffada775d02a26b7c85856d52076e7ce1451ae

Contents?: true

Size: 1.36 KB

Versions: 25

Compression:

Stored size: 1.36 KB

Contents

<%= pb_rails("flex", props: { horizontal: "center", orientation: "column" }) do %>
  <%= pb_rails("flex/flex_item") do %>
    <span id='regular-tooltip-1'>Hover here (Top)</span>

    <%= pb_rails("tooltip", props: {
      trigger_element_id: "regular-tooltip-1",
      tooltip_id: "tooltip-1",
      position: 'top'
    }) do %>
        Whoa. I'm a tooltip.
    <% end %>
  <% end %>

  <%= pb_rails("flex/flex_item", props: {margin_top: "md"}) do %>
    <span id='regular-tooltip-2'>Hover here (Bottom)</span>
    <%= pb_rails("tooltip", props: {
      trigger_element_id: "regular-tooltip-2",
      tooltip_id: "tooltip-2",
      position: 'bottom'
    }) do %>
        Whoa. I'm a tooltip.
    <% end %>
  <% end %>

  <%= pb_rails("flex/flex_item", props: {margin_top: "md"}) do %>
    <span id='regular-tooltip-3'>Hover here (Right)</span>
    <%= pb_rails("tooltip", props: {
      trigger_element_id: "regular-tooltip-3",
      tooltip_id: "tooltip-3",
      position: 'right'
    }) do %>
        Whoa. I'm a tooltip.
    <% end %>
  <% end %>

  <%= pb_rails("flex/flex_item", props: {margin_top: "md"}) do %>
    <span id='regular-tooltip-4'>Hover here (Left)</span>
    <%= pb_rails("tooltip", props: {
      trigger_element_id: "regular-tooltip-4",
      tooltip_id: "tooltip-4",
      position: 'left'
    }) do %>
        Whoa. I'm a tooltip.
    <% end %>
  <% end %>
<% end %>

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
playbook_ui-7.11.0.pre.alpha1 app/pb_kits/playbook/pb_tooltip/docs/_tooltip_default.html.erb
playbook_ui-7.10.0 app/pb_kits/playbook/pb_tooltip/docs/_tooltip_default.html.erb
playbook_ui-7.9.0 app/pb_kits/playbook/pb_tooltip/docs/_tooltip_default.html.erb
playbook_ui-7.8.4 app/pb_kits/playbook/pb_tooltip/docs/_tooltip_default.html.erb
playbook_ui-7.8.3 app/pb_kits/playbook/pb_tooltip/docs/_tooltip_default.html.erb
playbook_ui-7.8.2 app/pb_kits/playbook/pb_tooltip/docs/_tooltip_default.html.erb
playbook_ui-7.8.1 app/pb_kits/playbook/pb_tooltip/docs/_tooltip_default.html.erb
playbook_ui-7.8.0 app/pb_kits/playbook/pb_tooltip/docs/_tooltip_default.html.erb
playbook_ui-7.7.0.pre.alpha1 app/pb_kits/playbook/pb_tooltip/docs/_tooltip_default.html.erb
playbook_ui-7.7.0 app/pb_kits/playbook/pb_tooltip/docs/_tooltip_default.html.erb
playbook_ui-7.6.2.pre.alpha1 app/pb_kits/playbook/pb_tooltip/docs/_tooltip_default.html.erb
playbook_ui-7.6.2 app/pb_kits/playbook/pb_tooltip/docs/_tooltip_default.html.erb
playbook_ui-7.6.1.pre.alpha1 app/pb_kits/playbook/pb_tooltip/docs/_tooltip_default.html.erb
playbook_ui-7.6.1 app/pb_kits/playbook/pb_tooltip/docs/_tooltip_default.html.erb
playbook_ui-7.6.0 app/pb_kits/playbook/pb_tooltip/docs/_tooltip_default.html.erb
playbook_ui-7.5.1 app/pb_kits/playbook/pb_tooltip/docs/_tooltip_default.html.erb
playbook_ui-7.5.0 app/pb_kits/playbook/pb_tooltip/docs/_tooltip_default.html.erb
playbook_ui-7.4.2 app/pb_kits/playbook/pb_tooltip/docs/_tooltip_default.html.erb
playbook_ui-7.4.1 app/pb_kits/playbook/pb_tooltip/docs/_tooltip_default.html.erb
playbook_ui-7.4.0.pre.alpha5 app/pb_kits/playbook/pb_tooltip/docs/_tooltip_default.html.erb