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

Missing the ShowMenuForCollection functionality in Typescript #266

Open
ghost opened this issue May 23, 2019 · 1 comment
Open

Missing the ShowMenuForCollection functionality in Typescript #266

ghost opened this issue May 23, 2019 · 1 comment

Comments

@ghost
Copy link

ghost commented May 23, 2019

Hi there,

I am currently working with tributejs in typescript (Angular project, also using ngx-tribute).

The setup is as follows: a contenteditable div with a tribute collection containing multiple triggers.
Writing text to the div and inserting tributes by typing the trigger chars works as expected.

In addition to that behaviour I want the functionality to add a tribute by clicking a button, instead of typing the trigger char.
But while doing this, I'm running into the problem that showMenuForCollection() is not included in the types definition file.

So maybe the problem is simply solved when adding that function to the types definition?

Looking forward to your reply or any solution proposal.

@fightknights
Copy link
Contributor

Ran into this problem aswell. Added a pull request (#299)

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

No branches or pull requests

1 participant