• Riti Mahanta
  • NEWBIE
  • 0 Points
  • Member since 2015
  • Accenture

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
    Questions
  • 1
    Replies
Hey,

Is there any syntex to pass the parameter along with button click event to client side JS controller from component? just the way we have in VF?

<apex:commandButton value="click Me" action="{!buttonClicked}">
     <apex:param name="parameterName" value="param1" assignTo="{!param}"/>
</apex:commandButton>


On the similar line is there anything like below?

<ui:button press='{!c.buttonClicked}'>
   <ui:param value='pram1'/>
</ui:button>