function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
sridharbsridharb 

could we get down arrow button action for view or edit actions on lightning cards

User-added image
Hi Folks

Wondering do we hve any lighning options to have the actions at right corner of component as circled in Image for adding any view, edit or new Actions.

Thanks
Sri
Ashif KhanAshif Khan
Hi Sridhar,
Use lightning:menuItem in your lightning card component .
 
<lightning:buttonMenu alternativeText="Toggle menu">
        <lightning:menuItem label="New" value="New" iconName="utility:new" />
        <lightning:menuItem label="Edit" value="Edit" iconName="utility:edit" />
 </lightning:buttonMenu>



Let me know, is it works for you?
sridharbsridharb
Thanks Ashif for the quick reply. Its helpful. I will check and confirm you. Thanks