26 lines
916 B
Plaintext
26 lines
916 B
Plaintext
1.FastVue.autocomplete(el, options, context)
|
||
1.1 文档地址:https://www.devbridge.com/sourcery/components/jquery-autocomplete/
|
||
1.2 options扩展配置
|
||
---- valueField:string, 选项数据值属性字段,默认:value
|
||
---- nameField: string, 选项数据显示属性字段,默认赋valueField值
|
||
---- searchField:string 或 string array, 搜索字段配置
|
||
---- lookup:
|
||
array,使用searchField检索可选项
|
||
function,自定义选项数据检索函数,如果设置了以后,searchField不再起作用
|
||
---- onSelect(data): function,选项被选取后的回调函数,值为选择项数据
|
||
1.3 返回结果对象说明
|
||
---- setData: 设置当前选项数据
|
||
---- dispose: 释放autocomplete控件
|
||
|
||
2.FastVue.numberInput(el, options)
|
||
2.1 options
|
||
---- append:
|
||
---- precision:
|
||
---- negative:
|
||
---- onchange(value):
|
||
2.2 返回结果对象说明
|
||
---- getValue:
|
||
---- setValue:
|
||
---- setOptions:
|
||
---- dispose:
|