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

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