PDA

View Full Version : [FIXED] Modern Component - beforeflexchange and flexchange events are not documented



LesJ
18 Jul 2017, 6:01 AM
flex is an evented config in the modern component, but the beforeflexchange and flexchange events are not documented.

These events fire, but they are not documented.

var cmp = new Ext.Component({
listeners: {
beforeflexchange: function (e) {
alert('beforeflexchange');
},
flexchange: function (e) {
alert('flexchange');
}
}
});


cmp.setFlex(5);

Gary Schlosberg
8 Aug 2017, 3:48 PM
Thanks for the report! I have opened a documentation bug in our bug tracker.