I'm extending noobslide:
http://www.efectorelativo.net/laboratory/noobSlide/
but when I extend the class, it overwrites the original options.
var mooSlideResource = new Class({
Extends: mooSlide,
options: {
'captionsContainer': null,
'description': false,
'hoverButtons': null,
'hoverActionsFx': {
'duration': 250,
'transition': Fx.Transitions.linear
},
'hoverOffset': 25
},
initialize: function(options){
console.debug('resource slide', options);
// Include parent options
this.parent(options);
}
It then overwrites the original options I dump with a
console.debug(options);
Anyone have any insight to this?
--
View this message in context:
http://n2.nabble.com/Extending-a-class.-tp1095871p1095871.html
Sent from the MooTools Users mailing list archive at Nabble.com.