Class: exports

exports(options)

new exports(options)

配置项
Parameters:
Name Type Description
options object 配置项
Properties
Name Type Description
el string 挂载对应元素里面,传选择器字符串 必填
defaultNumber string 初始化时默认的车牌号 非必填
isNewpower boolean 车牌类型true:新能源车牌 false:普通车牌 非必填 一般不传
btnSaveText string 自定义保存按钮的文字内容 非必填
switchText Array.<string> 自定义切换按钮的文字内容 非必填
onBtnSaveClick function 点击保存按钮回调 非必填
Source: