Implement twemoji on emote

This commit is contained in:
Alexis Faizeau 2021-11-09 18:10:55 +01:00
parent 603045bcad
commit 624593e425
6 changed files with 51 additions and 31 deletions

View file

@ -11,15 +11,9 @@
function showChat(){
chatVisibilityStore.set(true);
}
function onKeyDown(e: KeyboardEvent) {
if (e.key === "Tab") {
showMenu();
}
}
</script>
<svelte:window on:keydown={onKeyDown}/>
<svelte:window/>
<main class="menuIcon">
<img src={logoWA} alt="open menu" class="nes-pointer" on:click|preventDefault={showMenu}>