Updated demo, version 1.2.1 🚀

This commit is contained in:
euvl
2017-06-21 21:21:02 +01:00
parent 0090a77216
commit 97176c56a2
4 changed files with 11 additions and 4049 deletions

View File

@@ -1,8 +1,9 @@
<template>
<div>
<modal name="foo">Woot</modal>
<p>Hi from {{ name }}.</p>
<modal name="foo" :width="300" :height="140">
Woot
</modal>
<p>Hi from <b>{{ name }}</b>.</p>
<button @click="$modal.show('foo')">
Open modal
</button>
@@ -26,4 +27,9 @@ body {
color: #2c3e50;
padding: 50px;
}
.v--modal {
text-align: center;
padding: 50px;
}
</style>