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

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