Provides edit-in-place functionality.
Marks element as QuickEdit, i.e., when user clicks it, it transforms into input. type specifies input type: QuickEdit.STRING => input, QuickEdit.SELECT => select. If QuickEdit.SELECT type is chosen, values are specified as an array in options.
string value
predefined values from the select element
var text = OAT.Dom.create("span"); text.innerHTML = "hello"; OAT.QuickEdit.assign(text, OAT.QuickEdit.SELECT, ["hello","hi","goodbye"]);