Calls a function when the element receives input.
myElement.input()
is often used to with text inputs and sliders. Calling myElement.input(false)
disables the function.
Examples
Syntax
input(fxn)
Parameters
fxn
Function|Boolean: function to call when input is detected within the element.
false
disables the function.Notice any errors or typos? Please let us know. Please feel free to edit src/dom/p5.Element.js and open a pull request!