File tree Expand file tree Collapse file tree 1 file changed +9
-5
lines changed
Expand file tree Collapse file tree 1 file changed +9
-5
lines changed Original file line number Diff line number Diff line change @@ -237,11 +237,13 @@ p5.Element.prototype.mouseOver = function (fxn) {
237237
238238
239239/**
240- * The .changed() function is called when the value of an element is changed.
240+ * The .changed() function is called when the value of an
241+ * element is changed.
241242 * This can be used to attach an element specific event listener.
242243 *
243244 * @method changed
244- * @param {Function } fxn function to be fired when the value of an element changes.
245+ * @param {Function } fxn function to be fired when the value of an
246+ * element changes.
245247 * @return {p5.Element }
246248 */
247249p5 . Element . prototype . changed = function ( fxn ) {
@@ -250,9 +252,11 @@ p5.Element.prototype.changed = function (fxn) {
250252} ;
251253
252254/**
253- * The .input() function is called when any user input is detected with an element.
254- * The input event is often used to detect keystrokes in a input element,
255- * or changes on a slider element. This can be used to attach an element specific event listener.
255+ * The .input() function is called when any user input is
256+ * detected with an element. The input event is often used
257+ * to detect keystrokes in a input element, or changes on a
258+ * slider element. This can be used to attach an element specific
259+ * event listener.
256260 *
257261 * @method input
258262 * @param {Function } fxn function to be fired on user input.
You can’t perform that action at this time.
0 commit comments