Sha256: 73dd7237af1fdf97f03f8daf68d1dae7ba257c46e28e1f479405c54944b3077e
Contents?: true
Size: 518 Bytes
Versions: 6
Compression:
Stored size: 518 Bytes
Contents
namespace "SensuDashboard.Views", (exports) -> class exports.Modal extends SensuDashboard.Views.Base tagName: "div" className: "modal hide fade" attributes: tabindex: "-1" role: "dialog" initialize: -> @template = HandlebarsTemplates[@options.name || "modal"] @$el.on("hidden", => @remove()) @render() render: -> @$el.html(@template(@model || {})) @$el.appendTo("body") @$el.modal("show") remove: -> @$el.modal("hide") super
Version data entries
6 entries across 6 versions & 1 rubygems