Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: Pass data in the click() function #81

Open
MSSP-BLKing opened this issue Aug 8, 2019 · 0 comments
Open

Feature: Pass data in the click() function #81

MSSP-BLKing opened this issue Aug 8, 2019 · 0 comments

Comments

@MSSP-BLKing
Copy link

Use Case: I have a multi-select box and have set the right-click menu to work on each of the multi-select options. When I do this I can display the data from that item but I can't pass it in the click function; data is not visible in the ng-template tag. What I would like to be able to do is this:

<ng-template shContextMenuItem let-data (click)="editDefaultOfferContent(data.id)">

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant