Sha256: 332da2ac891fa51b3d420ad77c76a8563685be2f654e7b78383cd5a04a2def9e

Contents?: true

Size: 548 Bytes

Versions: 30

Compression:

Stored size: 548 Bytes

Contents

(function() {

  Luca.containers.Viewport = Luca.containers.CardView.extend({
    activeItem: 0,
    className: 'luca-ui-viewport',
    fullscreen: true,
    initialize: function(options) {
      this.options = options != null ? options : {};
      Luca.core.Container.prototype.initialize.apply(this, arguments);
      if (this.fullscreen) return $('html,body').addClass('luca-ui-fullscreen');
    },
    render: function() {
      console.log("Rendering Viewport");
      return this.$el.addClass('luca-ui-viewport');
    }
  });

}).call(this);

Version data entries

30 entries across 30 versions & 1 rubygems

Version Path
luca-0.7.6 vendor/assets/luca-ui/containers/viewport.js
luca-0.7.5 vendor/assets/luca-ui/containers/viewport.js
luca-0.7.4 vendor/assets/luca-ui/containers/viewport.js
luca-0.7.3 vendor/assets/luca-ui/containers/viewport.js
luca-0.7.2 vendor/assets/luca-ui/containers/viewport.js
luca-0.7.0 vendor/assets/luca-ui/containers/viewport.js
luca-0.6.9 vendor/assets/luca-ui/containers/viewport.js
luca-0.6.8 vendor/assets/luca-ui/containers/viewport.js
luca-0.6.7 vendor/assets/luca-ui/containers/viewport.js
luca-0.6.6 vendor/assets/luca-ui/containers/viewport.js