Skip to content

junliu724515/WizardBaseComponent

Folders and files

NameName
Last commit message
Last commit date

Latest commit

71a53aa · Dec 13, 2016

History

16 Commits
Dec 7, 2016
Dec 13, 2016
Dec 11, 2016
Dec 7, 2016
Dec 8, 2016
Dec 13, 2016

Repository files navigation

WizardBaseComponent

A Base lightning component for Wizard using LDS

Deploy to Salesforce

screenshot

once you install it into your org. open LightingWizardProcessTestApp in the developer console, and click on preview button to see the component.

Attributes: steps -- the string array to define multiple steps

Events: newStepEvent -- move the steps in Wizard, cancelEvent -- event emitted when wizard being cancelled, finishEvent -- event emitted when wizard being finished,

Usage: using four steps as the example( see more in LightingWizardProcessTestApp in the repo)

  <c:LightningWizardProcess aura:id="wizardProcess"
                              steps="Step1, Step2, Step3, Step4"
                              newStepEvent="{!c.newStep}"
                              cancelEvent="{!c.cancel}"
                              finishEvent="{!c.finish}">
        <!--page1-->
        <div class="slds-hide">
            Step 1 content
            <!--replace it with the your page content or another components-->
        </div>
        <!--page2-->
        <div class="slds-hide">
            Step 2 content
            <!--replace it with the your page content or another components-->
        </div>
        <!--page3-->
        <div class="slds-hide">
            Step 3 content
            <!--replace it with the your page content or another components-->                
        </div>
        <!--page4-->
        <div class="slds-hide">
            Step 4 content
            <!--replace it with the your page content or another components-->
        </div>

    </c:LightningWizardProcess>

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published