This repository has been archived on 2026-04-30. You can view files and clone it, but cannot push or open issues or pull requests.
huegasm/app/components/controls/music-control/music-player.js

27 lines
390 B
JavaScript

import Em from 'ember';
export default Em.Component.extend({
classNames: ['container-fluid'],
actions: {
play: function(){
},
next : function(){
},
previous: function(){
}
},
status: null,
playButton: function(){
if(this.get('status') === 'paused'){
return 'pause';
} else {
return 'play-arrow';
}
}.property('status')
});