Sha256: feb23a6aab66403deda700ef5c79e2768ba7f92ea2b088ce4fe3aba3e0bc5ec8

Contents?: true

Size: 357 Bytes

Versions: 2

Compression:

Stored size: 357 Bytes

Contents

_.component('Luca.containers.Viewport').extend('Luca.containers.CardView').with

  activeItem: 0

  className: 'luca-ui-viewport'

  fullscreen: true

  initialize: (@options={})->
    Luca.core.Container::initialize.apply(@, arguments)
    $('html,body').addClass('luca-ui-fullscreen') if @fullscreen

  render: ()->
    @$el.addClass('luca-ui-viewport')

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
luca-0.8.599 src/containers/viewport.coffee
luca-0.8.59 src/containers/viewport.coffee