Skip to content
This repository was archived by the owner on Jun 1, 2023. It is now read-only.

Add lazy-load property to TabContent #316

Merged
merged 1 commit into from
Sep 22, 2020

Conversation

emielbeinema
Copy link
Contributor

In its current state, the contents of all tabs in the wizard are rendered on first load, generating a potentially large number of DOM nodes. In a larger form, this can really add up (and Lighthouse doesn't like it).

This PR creates a new boolean property on TabContent, allowing the user to indicate that instead of v-show, the tab should be hidden (i.e. not rendered) with v-if.

@BRafols BRafols merged commit 4ba261a into BinarCode:master Sep 22, 2020
@mreduar mreduar mentioned this pull request Mar 18, 2021
dtorres-sf referenced this pull request in surefyresystems/vue-form-wizard May 12, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants