Sha256: af23588c86cdd0ccb945add11ea81909f1243baaa67d7ef6a1743226e989cc86

Contents?: true

Size: 354 Bytes

Versions: 3

Compression:

Stored size: 354 Bytes

Contents

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

  className: 'luca-ui-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

3 entries across 3 versions & 1 rubygems

Version Path
luca-0.9.2 src/components/base_toolbar.coffee
luca-0.9.1 src/components/base_toolbar.coffee
luca-0.9.0 src/components/base_toolbar.coffee