Free and Open source Web Builder Framework. Next generation tool for building templates without coding
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

18 lines
369 B

import Component from './Component';
import { toLowerCase } from 'utils/mixins';
const tagName = 'tr';
export default Component.extend(
{
defaults: {
...Component.prototype.defaults,
tagName,
draggable: ['thead', 'tbody', 'tfoot'],
droppable: ['th', 'td']
}
},
{
isComponent: el => toLowerCase(el.tagName) === tagName
}
);