import { elementDefine } from '../index';
import { SwcHTMLTableCellElementBase } from '../elements/base/SwcHTMLTableCellElementBase';

@elementDefine({ name: 'swc-when-td', extends: 'td' })
export class SwcWhenTableCell extends SwcHTMLTableCellElementBase {
  connectedCallback() { if (this.style.display !== 'contents') { this.style.display = 'none'; } }
}
