Sha256: 43788ec94dd6835a0fc608aa44af5ae135337f6342e5ae75e61e7d7fa1d49789

Contents?: true

Size: 298 Bytes

Versions: 9

Compression:

Stored size: 298 Bytes

Contents

<script>
$(document).ready(function() {
  $('#<%= id %>').offcanvas({
<%= options.collect { |k,v| "    #{k}: \"#{v}\"" }.join(",\n").html_safe %>
  })
<% if on_open_url.present? %>
  .on( "open.offcanvas", function( e ){ $( "#<%= id %>" ).load("<%= on_open_url %>"); } )
<% end %>
  ;
});
</script>

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
administrador-0.0.9.pre app/views/offcanvas_view_helper/_offcanvas.html.erb
administrador-0.0.8.pre app/views/offcanvas_view_helper/_offcanvas.html.erb
administrador-0.0.7.pre app/views/offcanvas_view_helper/_offcanvas.html.erb
administrador-0.0.6.pre app/views/offcanvas_view_helper/_offcanvas.html.erb
administrador-0.0.5.pre app/views/offcanvas_view_helper/_offcanvas.html.erb
administrador-0.0.4.pre app/views/offcanvas_view_helper/_offcanvas.html.erb
administrador-0.0.3.pre app/views/offcanvas_view_helper/_offcanvas.html.erb
administrador-0.0.2.pre app/views/offcanvas_view_helper/_offcanvas.html.erb
administrador-0.0.1.pre app/views/offcanvas_view_helper/_offcanvas.html.erb