All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.laminext.videojs.api.ControlBarOptions.scala Maven / Gradle / Ivy

There is a newer version: 0.17.0
Show newest version
package io.laminext.videojs.api

import scala.scalajs.js
import scala.scalajs.js.UndefOr

object ControlBarOptions {

  def apply(
    volumePanel: UndefOr[VolumePanelOptions] = js.undefined,
    fullscreenToggle: UndefOr[Boolean] = js.undefined,
    pictureInPictureToggle: UndefOr[Boolean] = js.undefined
  ): ControlBarOptions = {
    val obj = js.Object().asInstanceOf[js.Dynamic]
    volumePanel.foreach(obj.volumePanel = _)
    fullscreenToggle.foreach(obj.fullscreenToggle = _)
    pictureInPictureToggle.foreach(obj.pictureInPictureToggle = _)
    obj.asInstanceOf[ControlBarOptions]
  }

}

@js.native
trait ControlBarOptions extends ComponentOptions {
  val volumePanel: UndefOr[VolumePanelOptions]
  val fullscreenToggle: UndefOr[Boolean]
  val pictureInPictureToggle: UndefOr[Boolean]
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy