How to use the ember-inspector/views/list.extend function in ember-inspector

To help you get started, we’ve selected a few ember-inspector examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github emberjs / ember-inspector / app / views / promise-list.js View on Github external
import ListView from 'ember-inspector/views/list';
import ListItemView from "ember-inspector/views/list-item";

/**
 * @module Views
 * @extends Views.List
 * @class PromiseList
 * @namespace Views
 */
export default ListView.extend({
  /**
   * @property itemViewClass
   * @type {Ember.View}
   */
  itemViewClass: ListItemView.extend({
    /**
     * @property templateName
     * @type {String}
     * @default 'promise_item'
     */
    templateName: 'promise_item'
  })
});
github emberjs / ember-inspector / app / views / route-list.js View on Github external
import Ember from 'ember';
import ListView from 'ember-inspector/views/list';
import ListItemView from 'ember-inspector/views/list-item';

const { computed: { readOnly } } = Ember;

/**
 * @module Views
 * @extends Views.List
 * @class RouteList
 * @namespace Views
 */
export default ListView.extend({
  /**
   * @property itemViewClass
   * @type {Ember.View}
   */
  itemViewClass: ListItemView.extend({
    /**
     * @property templateName
     * @type {String}
     * @default 'route_item'
     */
    templateName: 'route_item',

    /**
     * TODO: Need a better way to pass this
     *
     * @property currentRoute
github emberjs / ember-inspector / app / views / instance-list.js View on Github external
import ListView from 'ember-inspector/views/list';
import ListItemView from 'ember-inspector/views/list-item';

/**
 * @module Views
 * @extends Views.List
 * @class InstanceList
 * @namespace Views
 */
export default ListView.extend({
  /**
   * @property itemViewClass
   * @type {Ember.View}
   */
  itemViewClass: ListItemView.extend({
    /**
     * @property templateName
     * @type {String}
     * @default 'instance_item'
     */
    templateName: 'instance_item'
  })
});
github emberjs / ember-inspector / app / views / record-list.js View on Github external
import Ember from 'ember';
import ListView from 'ember-inspector/views/list';
import ListItemView from 'ember-inspector/views/list-item';

const { computed: { readOnly } } = Ember;

/**
 * @module Views
 * @extends Views.List
 * @class RecordList
 * @namespace Views
 */
export default ListView.extend({
  /**
   * @property itemViewClass
   * @type {Ember.View}
   */
  itemViewClass: ListItemView.extend({
    /**
     * @property templateName
     * @type {String}
     * @default 'record_item'
     */
    templateName: 'record_item',

    /**
     * TODO: Need a better way to pass this
     *
     * @property columns
github emberjs / ember-inspector / app / views / view-list.js View on Github external
import Ember from 'ember';
import ListView from 'ember-inspector/views/list';
import ListItemView from 'ember-inspector/views/list-item';

const { computed: { readOnly } } = Ember;

/**
 * @module Views
 * @extends Views.List
 * @class ViewList
 * @namespace Views
 */
export default ListView.extend({
  /**
   * Passed as an attribute
   *
   * @property pinnedObjectId
   * @type {String}
   */
  pinnedObjectId: null,

  /**
   * @property itemViewClass
   * @type {Ember.View}
   */
  itemViewClass: ListItemView.extend({
    /**
     * @property templateName
     * @type {String}