This repository has been archived by the owner on Sep 26, 2023. It is now read-only.
I want to use the Picmo on to my dot net Razor Pages where we use Kendo UI #281
Unanswered
shashankm489
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello Family and @joeattardi ,
thank you for the Picmojs and EmojiButton.
can you please help me to use the Picmo to integrate to Razor Pages. We are not allowed to load npm packages so
<script src="https://cdn.jsdelivr.net/npm/picmo@latest/dist/umd/index.js"></script> <script src="https://cdn.jsdelivr.net/npm/@picmo/popup-picker@latest/dist/umd/index.js"></script> <script src="~/lib/emoji/dist/js/index.js"></script>I cannot find a solution to make use of the integration for Picmo.
I am using these dependencies on _layout.cshtml
and I am trying to use this on my index.cshtml page
EmojiButton(document.querySelector('#emoji-button'), function (emoji) {
document.querySelector('input').value += emoji;
});
I am able to use this approach from https://www.exeideas.com/2023/02/emoji-picker-vanilla-javascript.html
html:
Emoji Picker Button Example
😀javascript:
<script src="https://cdn.jsdelivr.net/npm/emoji-button@0.6.0/dist/index.min.js"></script> <script> window.addEventListener('DOMContentLoaded', () => { EmojiButton(document.querySelector('#emoji-button'), function (emoji) { document.querySelector('input').value += emoji; }); }); </script>do we have similar approach that has the latest version of picmo or the last stable version of EmojiButton.
<script>https://cdn.jsdelivr.net/npm/@joeattardi/emoji-button@4.6.4/dist/index.min.js</script>or atleast this library I want to use
Beta Was this translation helpful? Give feedback.
All reactions