Skip to content

Instantly share code, notes, and snippets.

@tccloudz

tccloudz/FlowTab.cmp Secret

Created Apr 25, 2019
Embed
What would you like to do?
FlowTab.cmp
<aura:component implements="lightning:availableForFlowScreens" access="global">
<!--Attributes-->
<aura:attribute type="String" name="tabName" default=""/>
<aura:attribute type="String" name="cmpAttrs" default=""/>
<aura:attribute type="Boolean" name="showTab" default="true" />
<!--Handlers-->
<aura:handler name="init" value="{!this}" action="{!c.doInit}"/>
<aura:if isTrue="{!v.showTab}">
<lightning:tab label="{!v.tabName}" aura:id="lTab">
{!v.body}
</lightning:tab>
</aura:if>
</aura:component>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment