This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<aura:component implements="force:appHostable,lightning:isUrlAddressable" > | |
<aura:attribute name="recordId" | |
type="String" | |
description="ID of the record."/> | |
<aura:handler name="init" | |
value="this" | |
action="{!c.doInit}"/> | |
</aura:component> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<aura:component implements="force:appHostable,flexipage:availableForAllPageTypes,flexipage:availableForRecordHome,force:hasRecordId,forceCommunity:availableForAllPageTypes,force:lightningQuickAction" | |
access="global" | |
controller="DependentPicklistController"> | |
<!-- Event Handlers --> | |
<aura:handler name="init" value="this" action="{!c.doInit}"/> | |
<!-- Attributes--> | |
<aura:attribute name="listControllingValues" type="list" default="[]" description="to store controller field values"/> | |
<aura:attribute name="listDependingValues" type="list" default="['--- None ---']" description="to store dependent field values"/> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<aura:component implements="force:appHostable" controller="CreditCardSettingsController"> | |
<aura:attribute name="data" | |
type="Object"/> | |
<aura:attribute name="columns" | |
type="List"/> | |
<aura:attribute name="record" | |
type="Object"/> | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<aura:event type="COMPONENT" description="On record selection"> | |
<aura:attribute name="childObjectName" type="String"/> | |
<aura:attribute name="fieldName" type="String"/> | |
<aura:attribute name="selectedRecordId" type="String"/> | |
</aura:event> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<aura:component implements="flexipage:availableForAllPageTypes" access="global" controller="LightningRecordEditFormController"> | |
<aura:attribute name="disabled" type="Boolean" default="false" /> | |
<aura:attribute name="layoutSections" type="List" /> | |
<aura:attribute name="saved" type="Boolean" default="false" /> | |
<aura:attribute name="showSpinner" type="Boolean" default="true" /> | |
<aura:attribute name="fieldName" type="String" default="StageName" /> | |
<aura:handler name="init" value="{!this}" action="{!c.doInit}"/> | |
<lightning:card title=""> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class AccountEditController { | |
@AuraEnabled | |
public static String getObjectType() { | |
// Passing the sObject name in the method, it could be multiple objects too | |
return Utility.getDescribedObjects( new List<String>{'Account'} ); | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<aura:component implements="force:appHostable,flexipage:availableForAllPageTypes" access="global"> | |
<aura:attribute name="mouseStart" type="string" /> | |
<aura:attribute name="newWidth" type="string" /> | |
<aura:attribute name="currentEle" type="Object" /> | |
<div class="container" onmouseup="{!c.resetColumn}"> | |
<div class="slds-table--header-fixed_container slds-scrollable_x"> | |
<div class=""> | |
<table class="slds-table slds-table--header-fixed slds-table_bordered slds-table_edit slds-table_resizable-cols" style="table-layout:fixed"> | |
<thead> |
OlderNewer