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

Update README.md

This commit is contained in:
Cristi Jora
2017-04-16 18:35:07 +03:00
committed by GitHub
parent 891de5adb1
commit 45e8a2dd8d
+20 -3
View File
@@ -51,17 +51,26 @@ props: {
type: String, type: String,
default: 'Finish' default: 'Finish'
}, },
/***
* Applies to text, border and circle
*/
color: { color: {
type: String, type: String,
default: '#e74c3c' //circle, border and text color default: '#e74c3c' //circle, border and text color
}, },
/**
* name of the transition when transition between steps
*/
transition: { transition: {
type: String, type: String,
default: '' //name of the transition when transition between steps default: '' //name of the transition when transition between steps
}, },
/***
* Index of the initial tab to display
*/
startIndex: { startIndex: {
type: Number, type: Number,
default: 0 //the index of the initial tab that you want to be active default: 0
} }
} }
``` ```
@@ -73,12 +82,20 @@ props: {
type: String, type: String,
default: '' default: ''
}, },
/***
* Icon name for the upper circle corresponding to the tab
* Supports themify icons only for now.
*/
icon: { icon: {
type: String, type: String,
default: '' //name of the icon. Supports themify icons only for now default: ''
}, },
/***
* Function to execute before tab switch. Return value must be boolean
* If the return result is false, tab switch is restricted
*/
beforeChange: { beforeChange: {
type: Function //function to execute before changing tabs. Has to return true or false. If returns false, tab change is restricted type: Function
} }
} }
``` ```