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

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

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

import io.laminext.videojs.api.components.VolumeBar

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

object VolumeControlOptions {

  def apply(
    volumeBar: UndefOr[VolumeBar] = js.undefined,
    vertical: UndefOr[Boolean] = js.undefined
  ): VolumeControlOptions = {
    val obj = js.Object().asInstanceOf[js.Dynamic]
    volumeBar.foreach(obj.volumeBar = _)
    vertical.foreach(obj.vertical = _)
    obj.asInstanceOf[VolumeControlOptions]
  }

}

@js.native
trait VolumeControlOptions extends ComponentOptions {
  val volumeBar: UndefOr[VolumeBar]
  val vertical: UndefOr[Boolean]
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy