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

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