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

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