Hi Chirs,
Not exactly extension for Carousel but this is a quick example of control extension which may help you to understand control extension -
sap.ui.commons.TextField.extend("ExtTextField", { metadata : { properties : { "vType" : "string" }, }, renderer : "sap.ui.commons.TextFieldRenderer", });
implement the method as follows for additional functionality you are looking for -
ExtTextField.prototype.change = function(evt, oControl) { console.log(oControl.getVType()); //Do what ever addtional thing you wanna do };
For a bit advance control extendion would like to suggest you to have a look at Working with Control Extensions in UI5 - Creating F4 control
Thanks & Regards
Jeetendra