Sha256: 75b42f0925da7f05cd331950f4cc7e2b59cd73121db5bb4ca954158e8b251925

Contents?: true

Size: 644 Bytes

Versions: 30

Compression:

Stored size: 644 Bytes

Contents

(function() {

  Luca.components.Toolbar = Luca.core.Container.extend({
    className: 'luca-ui-toolbar',
    position: 'bottom',
    initialize: function(options) {
      this.options = options != null ? options : {};
      return Luca.core.Container.prototype.initialize.apply(this, arguments);
    },
    prepareComponents: function() {
      var _this = this;
      return _(this.components).each(function(component) {
        return component.container = _this.el;
      });
    },
    render: function() {
      return $(this.container).append(this.el);
    }
  });

  Luca.register("toolbar", "Luca.components.Toolbar");

}).call(this);

Version data entries

30 entries across 30 versions & 1 rubygems

Version Path
luca-0.9.76 vendor/assets/luca-ui/components/base_toolbar.js
luca-0.9.7 vendor/assets/luca-ui/components/base_toolbar.js
luca-0.9.65 vendor/assets/luca-ui/components/base_toolbar.js
luca-0.9.6 vendor/assets/luca-ui/components/base_toolbar.js
luca-0.9.42 vendor/assets/luca-ui/components/base_toolbar.js
luca-0.9.4 vendor/assets/luca-ui/components/base_toolbar.js
luca-0.9.2 vendor/assets/luca-ui/components/base_toolbar.js
luca-0.9.1 vendor/assets/luca-ui/components/base_toolbar.js
luca-0.9.0 vendor/assets/luca-ui/components/base_toolbar.js
luca-0.8.599 vendor/assets/luca-ui/components/base_toolbar.js
luca-0.8.59 vendor/assets/luca-ui/components/base_toolbar.js
luca-0.8.3 vendor/assets/luca-ui/components/base_toolbar.js
luca-0.8.2 vendor/assets/luca-ui/components/base_toolbar.js
luca-0.8.06 vendor/assets/luca-ui/components/base_toolbar.js
luca-0.8 vendor/assets/luca-ui/components/base_toolbar.js
luca-0.7.92 vendor/assets/luca-ui/components/base_toolbar.js
luca-0.7.91 vendor/assets/luca-ui/components/base_toolbar.js
luca-0.7.9 vendor/assets/luca-ui/components/base_toolbar.js
luca-0.7.8 vendor/assets/luca-ui/components/base_toolbar.js
luca-0.7.7 vendor/assets/luca-ui/components/base_toolbar.js