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

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