I am looking to attach smiles to my messages on a application. But I am unable to find the smiles in angular.js . I am finding some like :smile: then the symbol comes. But I want this to be done with codes like :-) , :-( then a smile and sad symbols needs to come respectively.
Thanks in advance.
You will need to look for a angular module that adds emoji autocomeplete for textareas.
A couple of examples that may suit your need:
You are seeing them come through with :smile: because that's the emoji code for smily face.
Take a look at http://www.emoji-cheat-sheet.com/
But if you really wanted to you could write a angular filter that would replace anywhere you saw a ":-)" with a :smile: and then the other filters would render the emoji as you'd expect.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.