Sha256: eae1064a5efc5f370528726a7473e1d66ff7ef97f643d122b2572811ca5b76db

Contents?: true

Size: 400 Bytes

Versions: 176

Compression:

Stored size: 400 Bytes

Contents

<div class="pb--doc-demo-row">
  
  <%= pb_rails("avatar_action_button", props: {
      name: "Sophia Carden",
      id: "clickable",
      link_url: "http://www.google.com",
      image_url: "https://randomuser.me/api/portraits/women/8.jpg",
  }) %>

  <%= javascript_tag do %>
    document.querySelector('#clickable').addEventListener('click', () => alert('clickable clicked!'))
  <% end %>

</div>

Version data entries

176 entries across 176 versions & 1 rubygems

Version Path
playbook_ui-5.2.0.pre.alpha3 app/pb_kits/playbook/pb_avatar_action_button/docs/_avatar_action_button_onclick.html.erb
playbook_ui-5.2.0.pre.alpha2 app/pb_kits/playbook/pb_avatar_action_button/docs/_avatar_action_button_onclick.html.erb
playbook_ui-5.2.0 app/pb_kits/playbook/pb_avatar_action_button/docs/_avatar_action_button_onclick.html.erb
playbook_ui-5.1.0 app/pb_kits/playbook/pb_avatar_action_button/docs/_avatar_action_button_onclick.html.erb
playbook_ui-5.0.3 app/pb_kits/playbook/pb_avatar_action_button/docs/_avatar_action_button_onclick.html.erb
playbook_ui-5.0.2 app/pb_kits/playbook/pb_avatar_action_button/docs/_avatar_action_button_onclick.html.erb
playbook_ui-5.0.1.pre.beta app/pb_kits/playbook/pb_avatar_action_button/docs/_avatar_action_button_onclick.html.erb
playbook_ui-5.1.0.pre.alpha4 app/pb_kits/playbook/pb_avatar_action_button/docs/_avatar_action_button_onclick.html.erb
playbook_ui-5.1.0.pre.alpha2 app/pb_kits/playbook/pb_avatar_action_button/docs/_avatar_action_button_onclick.html.erb
playbook_ui-5.1.0.pre.alpha1 app/pb_kits/playbook/pb_avatar_action_button/docs/_avatar_action_button_onclick.html.erb
playbook_ui-5.0.1 app/pb_kits/playbook/pb_avatar_action_button/docs/_avatar_action_button_onclick.html.erb
playbook_ui-5.0.1.pre.alpha1 app/pb_kits/playbook/pb_avatar_action_button/docs/_avatar_action_button_onclick.html.erb
playbook_ui-4.18.1.pre.alpha1 app/pb_kits/playbook/pb_avatar_action_button/docs/_avatar_action_button_onclick.html.erb
playbook_ui-4.18.1 app/pb_kits/playbook/pb_avatar_action_button/docs/_avatar_action_button_onclick.html.erb
playbook_ui-4.18.0 app/pb_kits/playbook/pb_avatar_action_button/docs/_avatar_action_button_onclick.html.erb
playbook_ui-4.17.0 app/pb_kits/playbook/pb_avatar_action_button/docs/_avatar_action_button_onclick.html.erb