1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
class Departures extends Spine.Controller
  @extend Spine.Events

  className: 'contacts'
  
  constructor: ->
    super
    
    @sidebar          = new Sidebar


    @sidebar.el.hide()
    @append @sidebar

    // Any of this functions not show animation
    @sidebar.el.show('slow')
    @sidebar.el.show('bounce',{ percent: 100 },2000);
    @sidebar.el.show('explode',to: { width: 280, height: 185 },2000);