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

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