mirror of https://github.com/rancher/ui.git
15 lines
320 B
JavaScript
15 lines
320 B
JavaScript
import Ember from 'ember';
|
|
|
|
export default Ember.Component.extend({
|
|
model: null,
|
|
fullColspan: null,
|
|
leftColspan: 1,
|
|
rightColspan: 1,
|
|
|
|
tagName: '',
|
|
|
|
mainColspan: Ember.computed('fullColspan', function() {
|
|
return (this.get('fullColspan')||2) - this.get('leftColspan') - this.get('rightColspan');
|
|
}),
|
|
});
|