vue-msgbox
Version:
A message box (like Sweet Alert) for vue.js.
30 lines (29 loc) • 1.18 kB
HTML
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="MobileOptimized" content="320">
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no, minimal-ui, maximum-scale=1.0, minimum-scale=1.0">
<style media="screen">
button {
padding: 1em;
margin-bottom: .5em;
border: 1px solid #ccc;
border-radius: 5px;
background-color: #fff;
}
</style>
<title>vue-msgbox examples</title>
</head>
<body>
<button type="button" showbase>Click here to show a msgbox.</button>
<button type="button" showpromisebase>Click here to show a msgbox with promise handler.</button>
<button type="button" showalert>Click here to show alert type box.</button>
<button type="button" showconfirm>Click here to show confirm type box.</button>
<button type="button" showprompt>Click here to show prompt type box.</button>
<button type="button" showprompt2>Click here to show prompt type box with custom validator.</button>
<script src="../node_modules/vue/dist/vue.js"></script>
<!-- <script src="../lib/vue-msgbox.js"></script> -->
<script src="./dist/build.js"></script>
</body>
</html>