JSFiddle - React, Tailwind, and code Playground
by adamschwartz
CSS
</style>
<meta name="viewport" content="width=device-width, initial-scale=1">
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.1/jquery.min.js"></script>
<script src="http://github.hubspot.com/vex/js/vex.js"></script>
<script src="http://github.hubspot.com/vex/js/vex.dialog.js"></script>
<link href="http://github.hubspot.com/vex/css/vex.css" rel="stylesheet" />
<link href="http://github.hubspot.com/vex/css/vex-theme-default.css" rel="stylesheet" />
<script>vex.defaultOptions.className = 'vex-theme-default';</script>
<style>
JavaScript
vex.dialog.confirm({
message: 'Are you sure you want to delete?',
callback: function(value) {
if (value === true) {
// console.log('Successfully deleted');
}
}
});