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

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