How to use the ember-inspector/libs/resizable-columns 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 / components / list.js View on Github external
setupColumns() {
    let resizableColumns = new ResizableColumns({
      key: this.storageKey,
      tableWidth: this.getTableWidth(),
      minWidth: this.minWidth,
      storage: this.storage,
      columnSchema: this.get('schema.columns') || []
    });
    resizableColumns.build();
    this.set('resizableColumns', resizableColumns);
    this.setupContextMenu();
  },