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

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