Ext.data.JsonP.Ext_ux_ToolbarDroppable({"mixins":[],"code_type":"ext_define","inheritable":false,"component":false,"meta":{},"mixedInto":[],"uses":[],"aliases":{},"parentMixins":[],"superclasses":[],"members":{"event":[],"property":[{"meta":{},"owner":"Ext.ux.ToolbarDroppable","tagname":"property","name":"dropTarget","id":"property-dropTarget"},{"meta":{},"owner":"Ext.ux.ToolbarDroppable","tagname":"property","name":"toolbar","id":"property-toolbar"}],"css_var":[],"method":[{"meta":{},"owner":"Ext.ux.ToolbarDroppable","tagname":"method","name":"constructor","id":"method-constructor"},{"meta":{},"owner":"Ext.ux.ToolbarDroppable","tagname":"method","name":"addDDGroup","id":"method-addDDGroup"},{"meta":{},"owner":"Ext.ux.ToolbarDroppable","tagname":"method","name":"afterLayout","id":"method-afterLayout"},{"meta":{},"owner":"Ext.ux.ToolbarDroppable","tagname":"method","name":"calculateEntryIndex","id":"method-calculateEntryIndex"},{"meta":{},"owner":"Ext.ux.ToolbarDroppable","tagname":"method","name":"canDrop","id":"method-canDrop"},{"meta":{},"owner":"Ext.ux.ToolbarDroppable","tagname":"method","name":"createDropTarget","id":"method-createDropTarget"},{"meta":{},"owner":"Ext.ux.ToolbarDroppable","tagname":"method","name":"createItem","id":"method-createItem"},{"meta":{},"owner":"Ext.ux.ToolbarDroppable","tagname":"method","name":"init","id":"method-init"},{"meta":{},"owner":"Ext.ux.ToolbarDroppable","tagname":"method","name":"notifyDrop","id":"method-notifyDrop"},{"meta":{},"owner":"Ext.ux.ToolbarDroppable","tagname":"method","name":"notifyOver","id":"method-notifyOver"}],"css_mixin":[],"cfg":[]},"tagname":"class","extends":null,"html":"
Files
Plugin which allows items to be dropped onto a toolbar and be turned into new Toolbar items.\nTo use the plugin, you just need to provide a createItem implementation that takes the drop\ndata as an argument and returns an object that can be placed onto the toolbar. Example:
\n\nExt.create('Ext.ux.ToolbarDroppable', {\n createItem: function(data) {\n return Ext.create('Ext.Button', {text: data.text});\n }\n});\n\n\n\n
The afterLayout function can also be overridden, and is called after a new item has been\ncreated and inserted into the Toolbar. Use this for any logic that needs to be run after\nthe item has been created.
\nCalled after a new button has been created and added to the toolbar. Add any required cleanup logic here
\nCalculates the location on the toolbar to create the new sorter button based on the XY of the\ndrag event
\nThe event object
\nThe index at which to insert the new button
\nCreates the new toolbar item based on drop data. This method must be implemented by the plugin instance
\nArbitrary data from the drop
\nAn item that can be added to a toolbar
\nInitializes the plugin and saves a reference to the toolbar
\nThe toolbar instance
\n