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

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