How to use the phoenix/views/side-panel.extend function in phoenix

To help you get started, we’ve selected a few phoenix 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 alphasights / ember-scrollable / app / views / dashboard / interaction.js View on Github external
import SidePanelView from 'phoenix/views/side-panel';
import NavigationArrowsMixin from 'phoenix/mixins/navigation-arrows';

export default SidePanelView.extend(NavigationArrowsMixin, {
  classNameBindings: [':interaction']
});
github alphasights / ember-scrollable / app / views / teams / team / project.js View on Github external
import SidePanelView from 'phoenix/views/side-panel';

export default SidePanelView.extend({
  classNameBindings: [':project'],
  tagName: 'article',

  keyEvents: {
    leftArrow: function() {
      this.get('controller').send('previous');
    },

    rightArrow: function() {
      this.get('controller').send('next');
    }
  }
});