Edit in JSFiddle

var element = $("div");
element.on("changed", function(ev, paren){
    $("#message").html("What Changed? "+ paren)
});

setTimeout(function(){
    element.css("color", "red");
    element.trigger("changed", ["Text Color"]);
}, 2000);

setTimeout(function(){
    element.css("display", "none");
    element.trigger("changed", ["visibility"]);
}, 5000);