Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
import SidePanelView from 'phoenix/views/side-panel';
import NavigationArrowsMixin from 'phoenix/mixins/navigation-arrows';
export default SidePanelView.extend(NavigationArrowsMixin, {
classNameBindings: [':interaction']
});
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');
}
}
});