Sha256: 1a4c0cf85fc9ca9bec733f65d064bff7f1305d30cf285efd9a75e7980a50e40c

Contents?: true

Size: 515 Bytes

Versions: 11

Compression:

Stored size: 515 Bytes

Contents

Luca.containers.PanelView = Luca.core.Container.extend
  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

11 entries across 11 versions & 1 rubygems

Version Path
luca-0.8.3 src/containers/panel_view.coffee
luca-0.8.2 src/containers/panel_view.coffee
luca-0.8.06 src/containers/panel_view.coffee
luca-0.8 src/containers/panel_view.coffee
luca-0.7.92 src/containers/panel_view.coffee
luca-0.7.91 src/containers/panel_view.coffee
luca-0.7.9 src/containers/panel_view.coffee
luca-0.7.8 src/containers/panel_view.coffee
luca-0.7.7 src/containers/panel_view.coffee
luca-0.7.6 src/containers/panel_view.coffee
luca-0.7.5 src/containers/panel_view.coffee