'Stickers and gifs on web

Just as we capture text with for example onChange event in an input html tag, is there a way to capture gifs or stickers from keyboard please?

something like

<input type="text" onChange=(({currentInput: input})=\> {//some updating code}) />

with smartPhones soft keyboards, suppose a user choose a sticker or a GIf how can i capture that ??



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source