All files / lib/components jumbotron.vue

63.64% Statements 7/11
50% Branches 3/6
100% Functions 3/3
63.64% Lines 7/11
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 3818x 18x 18x   18x 18x                     18x     18x                                    
<template>
    <div :class="['jumbotron',fluid?'jumbotron-fluid':null]">
    I    <div :class="containerFluid ? 'container-fluid' : 'container'">
            <h1 :is="headerTag" v-if="header" class="display-3" v-html="header"></h1>
           E <p v-if="lead" class="lead" v-html="lead"></p>
            <slot></slot>
        </div>
    </div>
</template>
 
<script>
    export default {
        computed: {},
        props: {
            fluid: {
                type: Boolean,
                default: false
            },
            containerFluid: {
                type: Boolean,
                default: false
            },
            header: {
                type: String,
                default: null
            },
            headerTag: {
                type: String,
                default: 'h1'
            },
            lead: {
                type: String,
                default: null
            }
        }
    };
</script>