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

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