A
A
Anton Anton2017-03-18 21:49:16
JavaScript
Anton Anton, 2017-03-18 21:49:16

How to convert the display of an interactive action with a callback to a promise?

I am doing a change in the state of the control with confirmation, this is how it all works https://jsfiddle.net/3p0zrvvf/8/ but I want to simplify the code by redoing it to a promise. Tell me how :)

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question