I came to know that I need to make some changes to the below method. I wanted to apply custom css class in the attributes section so can you please let me know how can I refer to a css style sheet here ?
_getTagObject: function(color) {
return{
"tag": "span",
"attributes": {
"style": "color: "+ color
}
};
},
Also please post the link where I can get the documentation of the APIs used in the JS.