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

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