2
0
mirror of https://github.com/tenrok/vue-form-wizard.git synced 2026-06-19 01:40:32 +03:00

Add lazy-load property to TabContent

This commit is contained in:
Emiel Beinema
2019-09-18 00:15:10 +02:00
parent cfc12ce1dc
commit ee0fc95e19
2 changed files with 15 additions and 1 deletions
+7
View File
@@ -141,6 +141,13 @@ props: {
type: String,
default: ''
},
/***
* Only render the content when the tab is active
*/
lazy: {
type: Boolean,
default: false
},
/***
* Function to execute before tab switch. Return value must be boolean
* If the return result is false, tab switch is restricted