timer-input:监视输入或textarea元素的值是否已更改,例如“ input”事件

时间:2021-05-24 06:01:56
【文件属性】:
文件名称:timer-input:监视输入或textarea元素的值是否已更改,例如“ input”事件
文件大小:9KB
文件格式:ZIP
更新时间:2021-05-24 06:01:56
JavaScript 定时器输入 监视输入或textarea元素的值是否已更改,例如input事件。 用法 var keyword = document . getElementById ( 'keyword' ) ; var kwInput = new TimerInput ( keyword ) ; kwInput . on ( function ( e ) { console . log ( 'The value of the keyword is changed!' ) ; console . log ( e ) ; // e: { type: 'timerinput', oldValue: '', newValue: 'foo' } } ) ; 该模块支持作为CommonJS / AMD模块。 配套 NPM: npm install timer-input 原料药 TimerInput构
【文件预览】:
timer-input-master
----.jshintrc(318B)
----.gitignore(35B)
----package.json(776B)
----timer-input.js(4KB)
----gulpfile.js(314B)
----LICENSE(1KB)
----README.md(2KB)
----example()
--------basic.html(4KB)
--------jquery-delegate.html(9KB)
----timer-input.min.js(2KB)
----.gitattributes(68B)

网友评论