Yes you can pass a variable from the
Yes, you can pass a variable from the
getInlineAnchorList function to the CSUI component itself. In your case, if you want to grab the data-x attribute on the results item and access it in the CSUI code, you can modify the getInlineAnchorList function to include the desired data in the anchor object that is passed to the CSUI component.
Here's an example of how you can achieve this:
1. Modify the getInlineAnchorList function to include the data-x attribute in the anchor object:
2. In your CSUI component, access the dataX attribute from the anchor object:
By including the dataX attribute in the anchor object, you can access it in the CSUI component and use it in your component logic as needed.2 Replies
!question how do I access the CSUIProps
anchor object in Vue?Something went wrong.