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

@elementDefine({ name: 'swc-other-script', extends: 'script' })
export class SwcOtherScript extends SwcHTMLScriptElementBase {
  connectedCallback() { if (this.style.display !== 'contents') { this.style.display = 'none'; } }
}
