Sha256: 4cd3d44e5dffaa81fb7ec6c8e5eaaf3f2866019954a9d58cfa509d17b7ec6fb4
Contents?: true
Size: 559 Bytes
Versions: 12
Compression:
Stored size: 559 Bytes
Contents
class ADF.Sidebar.Views.Tabcontent extends ADF.MVC.Views.Base initialize: -> render: -> el = @make("div", {"class": "content"}) @setElement(el) $(@el).html(@template) @onRenderComplete() @ onRenderComplete: -> showLoading: ( waitLoading ) -> @waitLoading = waitLoading @loading = @make("img", {"src":"/assets/small_loading_gray.gif", "class":"tab_loading"}) @$el.prepend(@loading) hideLoading: ()-> @waitLoading = @waitLoading - 1 $(@loading).remove() if @waitLoading <= 0
Version data entries
12 entries across 12 versions & 1 rubygems