2
0
mirror of https://github.com/tenrok/vue-form-wizard.git synced 2026-06-24 00:10:33 +03:00

Merge pull request #222 from EmilMoe/patch-1

Hide header if no title
This commit is contained in:
Cristi Jora
2018-03-13 18:04:50 +01:00
committed by GitHub
+1 -1
View File
@@ -1,7 +1,7 @@
<template> <template>
<div class="vue-form-wizard" :class="[stepSize, {vertical: isVertical}]" @keyup.right="focusNextTab" <div class="vue-form-wizard" :class="[stepSize, {vertical: isVertical}]" @keyup.right="focusNextTab"
@keyup.left="focusPrevTab"> @keyup.left="focusPrevTab">
<div class="wizard-header"> <div class="wizard-header" v-if="$slots['title']">
<slot name="title"> <slot name="title">
<h4 class="wizard-title">{{title}}</h4> <h4 class="wizard-title">{{title}}</h4>
<p class="category">{{subtitle}}</p> <p class="category">{{subtitle}}</p>