Sha256: d204f4055743ee85f95f9b4761a45be3a250f754e4a212e6e36608554fa5238b
Contents?: true
Size: 534 Bytes
Versions: 2
Compression:
Stored size: 534 Bytes
Contents
_.def('Luca.fields.TypeAheadField').extends('Luca.fields.TextField').with className: 'luca-ui-field' getSource: ()-> return @source.call(@) if _.isFunction(@source) @source || [] matcher: (item)-> # IMPLEMENT # return true where item matches @query true beforeRender: ()-> @_super("beforeRender", @, arguments) @$('input').attr('data-provide','typeahead') afterRender: ()-> @_super("afterRender", @, arguments) @$('input').typeahead matcher: @matcher source: @getSource()
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
luca-0.9.42 | src/components/fields/type_ahead_field.coffee |
luca-0.9.4 | src/components/fields/type_ahead_field.coffee |