Sha256: 4176a69e34292e4900639d2585d30668257cf0aa256a458c0f8b115b649dcda7
Contents?: true
Size: 581 Bytes
Versions: 3
Compression:
Stored size: 581 Bytes
Contents
#= require tao/form/shared/fields/moment_picker/segment_list/base MomentPicker = Tao.Form.MomentPicker class MomentPicker.SegmentList extends MomentPicker.SegmentListBase @attribute 'clearable', type: 'boolean' _bind: -> super @on 'click', '.link-clear', (e) => @trigger 'clear' null refreshHeight: -> return unless @activeSegment winHeight = $(window).height() offsetTop = @activeSegment.getBoundingClientRect().top @activeSegment.jq.css height: winHeight - offsetTop TaoComponent.register Tao.Form.MomentPicker.SegmentList
Version data entries
3 entries across 3 versions & 1 rubygems