daily pastebin goal
36%
SHARE
TWEET

Untitled

a guest Oct 23rd, 2018 65 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <img @click="myMethod" src="hasan.jpg">
  2.    
  3. <div @click="myMethod">
  4.    <img src="hasan.jpg">
  5. </div>
  6.    
  7. <template>
  8.   <div @click="myMethod">
  9.    <img src="hasan.jpg" id="hasanStyle">
  10.   </div>
  11. </template>
  12.  
  13. <script>
  14. export default{
  15.   data(){
  16.     return{
  17.       showHasan:true
  18.     }
  19.   },
  20.   methods:{
  21.     myMethod(){
  22.       showHasan = false
  23.     }
  24.   }
  25. }
  26. </script>
  27.  
  28. <style scoped>
  29.   #hasanStyle{
  30.     position: absolute;
  31.     top: 120px;
  32.     right: -323px;
  33.   }
  34. </style>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top