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

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