grunt-sencha-dependencies
Version:
A Grunt.js plugin which will figure out the order of Ext classes your Ext.application uses so the list can be passed on to further commands like concat, jshint, etc
25 lines (23 loc) • 742 B
JavaScript
/**
* @class Twitter.view.SearchList
* @extends Ext.dataview.List
*
* This shows all of the Searches that the user has saved. It's {@link #defaultType} is searchlistitem.
*
* The configured store loads the Search model instances using Search's default proxy (see app/models/Search.js).
*/
Ext.define('Twitter.view.SearchList', {
extend: 'Ext.DataView',
xtype : 'searchlist',
requires: ['Twitter.view.SearchListItem'],
config: {
ui : 'searchlist',
baseCls : 'x-list',
store : 'Searches',
defaultType : 'searchlistitem',
scrollable : 'vertical',
allowDeselect: false,
useComponents: true,
deselectOnContainerClick: false
}
});