<template>
<div>
    <p class="darkblue" @click="rate()"> I am Text Component2</p>
    <p>I am Text Component2</p>
    <p>I am Text Component2</p>
    <p>I am Text Component2</p>
    <p>I am Text Component2</p>
    <p>I am Text Component2</p>
    <p>I am Text Component2</p>
    <p>I am Text Component2</p>
    <p>I am Text Component2</p>
    <p>I am Text Component2</p>
    <p>I am Text Component2</p>
    <p>I am Text Component2</p>
    <p>I am Text Component2</p>
    <p>I am Text Component2</p>
    <p>I am Text Component2</p>
    <p>I am Text Component2</p>
    <p>I am Text Component2</p>
    <p>I am Text Component2</p>
    <p>I am Text Component2</p>
    <p>I am Text Component2</p>
    <p>I am Text Component2</p>
    <p>I am Text Component2</p>
    <p>I am Text Component2</p>
    <p>I am Text Component2</p>
    <p>I am Text Component2</p>
    <p>I am Text Component2</p>
    <p>I am Text Component2</p>
    <p>I am Text Component2</p>
    <p>I am Text Component2</p>
    <p>I am Text Component2</p>
    <p>I am Text Component2</p>
    <p>I am Text Component2</p>
    <p>I am Text Component2</p>
</div>
</template>

<script>
import Vue from 'vue';

export default Vue.extend({
    name: 'Text2',
    data() {
        return {
            text2: 'I am Text Component2'
        }
    },
    props: {
        isClicked: Boolean
    },
    methods: {
        rate: function(){
            console.log(this.isClicked)
        }
    }
})
</script>
<style lang="postcss" scoped>
@import '@css/_app-partials.css';
.darkblue{
    color: $dark-blue;

}

</style>

