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

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