当元素接收到输入时调用一个函数。
myElement.input()
通常用于文本输入和滑块。调用 myElement.input(false)
会禁用该函数。
示例
语法
input(fxn)
参数
fxn
函数|布尔:
在元素内检测到输入时调用的函数。false
会禁用该函数。
This page is generated from the comments in src/dom/dom.js . Please feel free to edit it and submit a pull request!