You need to sign in to do that
Don't have an account?
Jayee
Hello~
For now , im using custom accordion code below
what should i change my code to add an opacity annimation like user detail page hide/show
NO JQuery Will be added
how to add lightning accordion onclick animation without JQuery Effect?
Hello~
For now , im using custom accordion code below
<div class="divContainer"> <div class="slds-p-around--medium"> <div class="slds-grid slds-wrap slds-gutters_xx-small"> <div class="slds-col slds-size--1-of-1 slds-small-size--1-of-1 slds-medium-size--1-of-1 slds-m-top_x-small"> <ul class="slds-accordion"> <li class="slds-accordion__list-item"> <section class="slds-accordion__section slds-section__title"> <div aura:id="RS_Initiation_2" class="slds-is-open slds-transition-show"> <div class="slds-accordion__summary slds-section__title slds-theme_shade"> <h3 class="slds-section__title"> <lightning:button value="RS_Initiation_2" ariaExpanded="true" class="slds-button slds-button_reset slds-accordion__summary-action slds-custom-button" onclick="{!c.divAccordionClick}"> <lightning:icon aura:id="RS_Initiation_2_open" iconName="utility:chevronright" size="x-small" class="slds-first-icon"/> <lightning:icon aura:id="RS_Initiation_2_close" iconName="utility:chevrondown" size="x-small" class="slds-first-icon slds-display-none"/> <span class="slds-truncate"> About </span> </lightning:button> </h3> </div> <div class="slds-accordion__content"> <!--DATA ENTRY POINT--> <!--DATA ENTRY POINT--> </div> </div> </section> </li>would like to add an smooth onclick accordion animation.
what should i change my code to add an opacity annimation like user detail page hide/show
NO JQuery Will be added
Please refer the below code snippet and change your code accordingly. Hope it helps you.
Please select as best answer if it helps you.
Thank You,
Ajay Dubedi