2
0
mirror of https://github.com/tenrok/vue-form-wizard.git synced 2026-05-17 04:29:36 +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>
<div class="vue-form-wizard" :class="[stepSize, {vertical: isVertical}]" @keyup.right="focusNextTab"
@keyup.left="focusPrevTab">
<div class="wizard-header">
<div class="wizard-header" v-if="$slots['title']">
<slot name="title">
<h4 class="wizard-title">{{title}}</h4>
<p class="category">{{subtitle}}</p>