Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- computed: {
- loading() {
- return this.$store.state.myCoolObject.loading
- },
- }
- watch: {
- loading(newVal, oldVal) {
- if(newVal == false) {
- console.log(this.$el)
- }
- },
- }
- <template>
- <div v-if="!loading">
- Life, uh, finds a way.
- </div>
- </template>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement