Skip to content

Instantly share code, notes, and snippets.

@tccloudz
Created April 25, 2019 17:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tccloudz/d516950518794680f5282820836720e0 to your computer and use it in GitHub Desktop.
Save tccloudz/d516950518794680f5282820836720e0 to your computer and use it in GitHub Desktop.
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