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

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