Skip to content

Conversation

@reynaldichernando
Copy link
Member

Fixes #3

In addition to predefined actions, we want to support custom actions, by allowing user to pass in label, icon, and any arbitrary JavaScript function.

@reynaldichernando
Copy link
Member Author

Right now, this doesn't work, I suspect because injectScript only support string, while our javascript function is a literal type function (not a string), which maybe why it fails

@reynaldichernando
Copy link
Member Author

not sure if we move to override component (meaning no more injectScript), if this will fix itself

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

Successfully merging this pull request may close these issues.

Allow for custom menu action

2 participants