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

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