<template>
    <div>
        <q-img v-if="imgbackground" :src="imgbackground"
               :style="tools.styles_imgtitle()">

            <div class="absolute-bottom text-body1 text-center">
                <h2 class="titletext">{{headtitle}}</h2>
            </div>
        </q-img>

        <!--
        <q-parallax :height="tools.myheight_imgtitle()" :width="tools.mywidth_imgtitle()">
            <template v-slot:media>
                <img :src="imgbackground" class="cltitlebg">
            </template>
            <h2 class="titletext">{{headtitle}}</h2>
        </q-parallax>
        -->

    </div>
</template>

<script lang="ts" src="./CTitle.ts">
</script>
<style lang="scss" scoped>
    @import './CTitle.scss';
</style>
