Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <script>
- import ArrowSwitcher from '@/components/ui/ArrowSwitcher.vue'
- export default {
- components: {
- ArrowSwitcher
- },
- data () {
- return {
- showContent: false
- }
- },
- methods: {
- switcher () {
- this.showContent = !this.showContent
- }
- }
- }
- </script>
- <span class='targeting-global__name' @click='switcher'>
- Some Text
- <ArrowSwitcher :showContent='showContent'/>
- </span>
- <span class='targeting-global__name'>
- Targeting Global
- <ArrowSwitcher :showContent='showContent' @click='switcher'/>
- </span>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement