You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Button properties data on ojAction

edited May 29, 2021 4:17AM in Visual Builder 4 comments

Summary

Button properties data on ojAction

Content

on ojAction, I am mapping $event.detail to Action Chain Variable("detail") and trying to get id of button by $variables.detail.id....it is throwing error ...

I printed $variables.detail by json.stringify...output is coming as  {"originalEvent":{"isTrusted":true}}

How to get id of oj-button on click......do I need JS function here, I thought we can get properties of each component with $event.detail action....

Thanks...

 

 

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!