Callback support for windows platform
This commit is contained in:
parent
2472d7208a
commit
afaa6cd60d
@ -91,6 +91,10 @@ exports.onPrintTaskRequested = function (event) {
|
||||
task = event.request.createPrintTask(config.name, function (args) {
|
||||
args.setSource(exports._page);
|
||||
});
|
||||
|
||||
task.oncompleted = function (e) {
|
||||
exports._func(e.detail[0].completion == 3);
|
||||
};
|
||||
};
|
||||
|
||||
PrintManager.getForCurrentView()
|
||||
|
Loading…
Reference in New Issue
Block a user