Sha256: 3c0528b57877180f3b1cd3d31a2ede3f2452b2b6048cacf43a94e725017584ed

Contents?: true

Size: 362 Bytes

Versions: 4

Compression:

Stored size: 362 Bytes

Contents

_.def('Luca.components.Toolbar').extends('Luca.core.Container').with

  className: 'luca-ui-toolbar toolbar'

  position: 'bottom'

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

  prepareComponents: ()->
    _( @components ).each (component)=>
      component.container = @$el

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

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
luca-0.9.65 src/components/base_toolbar.coffee
luca-0.9.6 src/components/base_toolbar.coffee
luca-0.9.42 src/components/base_toolbar.coffee
luca-0.9.4 src/components/base_toolbar.coffee