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

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