From a15e952532f826787306d9df0ed72c8f7486b51b Mon Sep 17 00:00:00 2001 From: cristijora Date: Sun, 16 Apr 2017 18:52:42 +0300 Subject: [PATCH] Add docs to props which need additional details --- src/App.vue | 1 - src/components/TabContent.vue | 8 ++++++++ src/components/TabWizard.vue | 12 +++++++++++- 3 files changed, 19 insertions(+), 2 deletions(-) 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 @@