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

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