Skip to content

Commit

Permalink
🚑 removed old debug stuff - allowing innerClass property
Browse files Browse the repository at this point in the history
  • Loading branch information
acidjazz committed Oct 13, 2020
1 parent 55d7c31 commit e90603d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/GlobalModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -87,10 +87,7 @@ export default {
}
},
async mounted () {
console.log('firing GlobalModal mounted()')
await this.$sleep(100)
this.active = true
await this.$sleep(100)
},
methods: {
async focus (index = 0) {
Expand Down
6 changes: 6 additions & 0 deletions src/ModalBase.vue
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
<div
v-if="active"
class="inline-block align-bottom bg-white rounded-lg px-4 pt-5 pb-4 text-left overflow-hidden shadow-xl transform transition-all sm:my-8 sm:align-middle sm:max-w-lg sm:w-full sm:p-6"
:class="innerClass"
role="dialog"
aria-modal="true"
aria-labelledby="modal-headline">
Expand All @@ -48,6 +49,11 @@ export default {
required: false,
default: () => {},
},
innerClass: {
type: String,
required: false,
default: '',
},
},
data () {
return {
Expand Down

0 comments on commit e90603d

Please sign in to comment.