Sha256: cb4e931ff67a16fc8de59e149f2649b637fd664476e39e634d986c14f3a2ae48

Contents?: true

Size: 386 Bytes

Versions: 7

Compression:

Stored size: 386 Bytes

Contents

#= require tao/form/shared/fields/moment_picker/segment_list/base

MomentPicker = Tao.Form.MomentPicker

class MomentPicker.SegmentList extends MomentPicker.SegmentListBase

  @attribute 'active', type: 'boolean', observe: true

  @attribute 'direction', default: 'down'

  _activeChanged: ->
    @trigger('tao:show') if @active

TaoComponent.register Tao.Form.MomentPicker.SegmentList

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
tao_form-0.1.9 lib/assets/javascripts/tao/form/fields/moment_picker/segment_list.coffee
tao_form-0.1.8 lib/assets/javascripts/tao/form/fields/moment_picker/segment_list.coffee
tao_form-0.1.7 lib/assets/javascripts/tao/form/fields/moment_picker/segment_list.coffee
tao_form-0.1.6 lib/assets/javascripts/tao/form/fields/moment_picker/segment_list.coffee
tao_form-0.1.5 lib/assets/javascripts/tao/form/fields/moment_picker/segment_list.coffee
tao_form-0.1.4 lib/assets/javascripts/tao/form/fields/moment_picker/segment_list.coffee
tao_form-0.1.3 lib/assets/javascripts/tao/form/fields/moment_picker/segment_list.coffee