1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/web/ synced 2025-03-23 00:00:02 +01:00
VILLASweb/app/components/plot-container.js
Markus Grigull 15d29d23b2 Add jQuery UI
Add resizeable, droppable and draggable mixins
Add API_HOST in environment.js
2016-07-15 12:09:31 +02:00

18 lines
427 B
JavaScript

import Ember from 'ember';
export default Ember.Component.extend({
isTable: function() {
var type = this.get('plot.type');
return type === 'table';
}.property('plot.type'),
isChart: function() {
var type = this.get('plot.type');
return type === 'chart';
}.property('plot.type'),
isValue: function() {
var type = this.get('plot.type');
return type === 'value';
}.property('plot.type')
});