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

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