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

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