Merge pull request #4 from trave7er/master
add input callback to callback stack
This commit is contained in:
commit
faeb1f6bc6
|
@ -48,6 +48,7 @@ class DialogAndroid {
|
||||||
finalOptions.input = Object.assign({}, finalOptions.input);
|
finalOptions.input = Object.assign({}, finalOptions.input);
|
||||||
var inputCallback = finalOptions.input.callback || (x => console.log(x));
|
var inputCallback = finalOptions.input.callback || (x => console.log(x));
|
||||||
finalOptions.input.callback = true;
|
finalOptions.input.callback = true;
|
||||||
|
callbacks['input'] = inputCallback;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Parse the result form multiple choice dialog
|
// Parse the result form multiple choice dialog
|
||||||
|
|
Loading…
Reference in New Issue