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

Option to use DOM elements instead of HTML strings as templates #885

Open
gyenabubakar opened this issue Jan 1, 2023 · 0 comments
Open

Comments

@gyenabubakar
Copy link

It would be nice to have the option to pass an HTML element to the template properties (like menuItemTemplate) instead of passing an HTML.

This would be nice for situations in which we have an already implemented UI component (in Svelte, Vue, or React) for the menu.

If this was possible, we wouldn't need to use noMatchTemplate for fallback as the UI component would handle that.

I'm new to this library so if this is already possible, kindly let me know. :)

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