Sha256: fcd652b7743a5a98d2d370ed4f46e8415d1980d0a5eb25bc3202d0898ba62dd6

Contents?: true

Size: 524 Bytes

Versions: 9

Compression:

Stored size: 524 Bytes

Contents

_.def('Luca.containers.PanelView').extends('Luca.core.Container').with
  className: 'luca-ui-panel'

  initialize: (@options={})->
    Luca.core.Container::initialize.apply @, arguments

  afterLayout: ()->
    if @template
      contents = ( Luca.templates || JST )[ @template ]( @ )
      @$el.html(contents)

  render: ()->
    $(@container).append @$el

  afterRender: ()->
    Luca.core.Container::afterRender?.apply @, arguments
    if @css
      _( @css ).each (value,property)=>
        @$el.css(property,value)




Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
luca-0.9.76 src/containers/panel_view.coffee
luca-0.9.7 src/containers/panel_view.coffee
luca-0.9.65 src/containers/panel_view.coffee
luca-0.9.6 src/containers/panel_view.coffee
luca-0.9.42 src/containers/panel_view.coffee
luca-0.9.4 src/containers/panel_view.coffee
luca-0.9.2 src/containers/panel_view.coffee
luca-0.9.1 src/containers/panel_view.coffee
luca-0.9.0 src/containers/panel_view.coffee