
NOTICE: All information contained herein is, and remains
the property of TechnoCore.
The intellectual and technical concepts contained
herein are proprietary to TechnoCore and dissemination of this information or reproduction of this material
is strictly forbidden unless prior written permission is obtained
from TechnoCore.
The ObjTextEmoji object is a simple utility for rendering a CSS-based emoji on a web page. It generates an HTML <i> tag with the appropriate classes required by the emoji.css stylesheet.
Process(Param1: str, ...)This method takes the name of an emoji and generates the corresponding HTML tag. It also ensures that the emoji.css file is added to the page resources.
Parameters:
Param1 (str): The name of the emoji to be displayed (e.g., smile, heart, thumbsup).Returns:
<i> tag for the emoji.Example Usage:
emoji_generator = ObjProcessText()
emoji_html = emoji_generator.Process(Param1="smile")
print(emoji_html)
This would output:
<i class='em em-smile'></i>