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

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