access to listview item in oj-option(oj-swipe-actions) not working
Summary
cannot access $current.data in oj-optionContent
I try to implement swipe-to-reveal in an oj-list-view with options dependent on the content of the current item.
However $current.data is undefined when I try to access it from oj-options in <template slot="end">.
A html extract is shown in the code snippet window....but $current.data is undefined whenever I swipe. My question is what am I doing wrong here?
In the documentation for <oj-swipe-actions> it is described for the end-slot:
The <span class="kwd">end</span>
slot is used to specify the action bar that appears when user swipes from end to start on its container. The slot must be a <template> element.
1