attachCarousel

attaches a carousel object to a cell

object attachCarousel(number width,number height, [object conf] );

Parameters

widthnumberthe width of a carousel
heightnumberthe height of a carousel
confobjectoptional, the config of a carousel for object-api init

Returns

objectdhtmlXCarousel instance

Example

var myCarousel = dhxComponent.cells(id).attachCarousel(400, 300, conf){
    ...
});

Change log

added in 4.3

Back to top