Thank you for reporting this bug. We will make it our priority to review this report.
Container childmove event - bad documentation
Container childmove event - bad documentation
I don't see the "Sticky: API Documentation Content Bugs" thread which is present in "Ext 4: Bugs", so I'll report this as a regular bug.
The childmove event has a new name in 5.1, but the prevIndex and newIndex parameters are still described as components, but these are numbers.
Code:
Ext.define('Ext.container.Container', {
...
/**
* @event childmove
* Fires after any {@link Ext.Component} has changed its ordinal position within the container.
* @param {Ext.container.Container} this
* @param {Ext.Component} component The component that was moved
* @param {Ext.Component} prevIndex The previous ordinal position of the Component
* @param {Ext.Component} newIndex The new ordinal position of the Component
*/
...
Container childmove event - bad documentation
Aucun commentaire:
Enregistrer un commentaire