diff --git a/src/App.vue b/src/App.vue index 0677eb1..1ae771f 100644 --- a/src/App.vue +++ b/src/App.vue @@ -2,7 +2,6 @@
diff --git a/src/components/TabContent.vue b/src/components/TabContent.vue index cfcfbd0..4f707b1 100644 --- a/src/components/TabContent.vue +++ b/src/components/TabContent.vue @@ -12,10 +12,18 @@ type: String, default: '' }, + /*** + * Icon name for the upper circle corresponding to the tab + * Supports themify icons only for now. + */ icon: { type: String, default: '' }, + /*** + * Function to execute before tab switch. Return value must be boolean + * If the return result is false, tab switch is restricted + */ beforeChange: { type: Function } diff --git a/src/components/TabWizard.vue b/src/components/TabWizard.vue index d28f582..c91dcdb 100644 --- a/src/components/TabWizard.vue +++ b/src/components/TabWizard.vue @@ -40,7 +40,7 @@