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

com.olvind.mui.std.FocusOptions.scala Maven / Gradle / Ivy

The newest version!
package com.olvind.mui.std

import org.scalablytyped.runtime.StObject
import scala.scalajs.js
import scala.scalajs.js.annotation.{JSGlobalScope, JSGlobal, JSImport, JSName, JSBracketAccess}

trait FocusOptions extends StObject {
  
  /* standard dom */
  var preventScroll: js.UndefOr[Boolean] = js.undefined
}
object FocusOptions {
  
  inline def apply(): FocusOptions = {
    val __obj = js.Dynamic.literal()
    __obj.asInstanceOf[FocusOptions]
  }
  
  @scala.inline
  implicit open class MutableBuilder[Self <: FocusOptions] (val x: Self) extends AnyVal {
    
    inline def setPreventScroll(value: Boolean): Self = StObject.set(x, "preventScroll", value.asInstanceOf[js.Any])
    
    inline def setPreventScrollUndefined: Self = StObject.set(x, "preventScroll", js.undefined)
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy