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

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