Sha256: f72056f425865ec4cc2c21f7e35d8449ef55c63cef25cc6aadfbd0220e4a4634

Contents?: true

Size: 403 Bytes

Versions: 2

Compression:

Stored size: 403 Bytes

Contents

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

toolbar = Luca.register     "Luca.components.Toolbar"
toolbar.extends             "Luca.core.Container"

toolbar.defines
  className: 'luca-ui-toolbar toolbar'

  position: 'bottom'

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

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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
luca-0.9.76 src/components/base_toolbar.coffee
luca-0.9.7 src/components/base_toolbar.coffee