aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/assets/player/shared/settings/settings-panel-child.ts
blob: 161420c38b9f8b012147d0f409c73bb5e68f16f3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import videojs from 'video.js'

const Component = videojs.getComponent('Component')

class SettingsPanelChild extends Component {

  createEl () {
    return super.createEl('div', {
      className: 'vjs-settings-panel-child',
      innerHTML: '',
      tabIndex: -1
    })
  }
}

Component.registerComponent('SettingsPanelChild', SettingsPanelChild)

export { SettingsPanelChild }