We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 885c035 commit 17b8994Copy full SHA for 17b8994
srcjs/input.js
@@ -72,7 +72,8 @@ export function reactInput(selector,
72
this.render(el);
73
}
74
unsubscribe(el, callback) {
75
- // TODO
+ // TODO at a minimum, 'undo' subscribe() actions (remove callback from data)
76
+ // Figure out the right way to un-render the component
77
78
receiveMessage(el, data) {
79
options.receiveMessage.call(this, el, data);
@@ -83,6 +84,8 @@ export function reactInput(selector,
83
84
* through `this` in receiveMessage
85
* */
86
87
+ // TODO Initialize value and config in initialize() method, don't sync back
88
+ // to DOM
89
getInputValue(el) {
90
return JSON.parse($(el).next().text());
91
0 commit comments