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

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