PeerTube/client/src/assets/player/shared/settings/settings-panel-child.ts

18 lines
361 B
TypeScript
Raw Normal View History

2020-04-21 11:02:28 +02:00
import videojs from 'video.js'
2020-01-28 17:29:50 +01:00
const Component = videojs.getComponent('Component')
class SettingsPanelChild extends Component {
createEl () {
return super.createEl('div', {
className: 'vjs-settings-panel-child',
tabIndex: -1
})
}
}
Component.registerComponent('SettingsPanelChild', SettingsPanelChild)
export { SettingsPanelChild }