Sha256: 5c85f0a5acc605c8803fe64b8ed2e6f8576888accee514cbce29349a655776fc
Contents?: true
Size: 551 Bytes
Versions: 222
Compression:
Stored size: 551 Bytes
Contents
<div id="wrapper-circle-chart-<%= object.id %>"> <%= content_tag(:div, "", aria: object.aria, id: object.id, data: object.data, class: object.classname) do %> <% content_for :pb_js do %> <%= javascript_tag do %> window.addEventListener('DOMContentLoaded', function() { new pbChart('.selector', <%= object.chart_options %>) }); <% end %> <% end %> <% end %> <% if content.present? %> <div class="pb-circle-chart-block"> <%= content %> </div> <% end %> </div>
Version data entries
222 entries across 222 versions & 1 rubygems