Closed landito82 closed 8 years ago
How to get the input value in prompt()?
To be used in the callback
It is solved as a promise, resolved if press ok, reject if press cancel!
eModal.prompt('whats up') .then( value => alert('OK '+ value), cancel => alert('Cancel '+ cancel) );
How to get the input value in prompt()?
To be used in the callback