com.olvind.mui.std.ScrollOptions.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 ScrollOptions extends StObject {
/* standard dom */
var behavior: js.UndefOr[ScrollBehavior] = js.undefined
}
object ScrollOptions {
inline def apply(): ScrollOptions = {
val __obj = js.Dynamic.literal()
__obj.asInstanceOf[ScrollOptions]
}
@scala.inline
implicit open class MutableBuilder[Self <: ScrollOptions] (val x: Self) extends AnyVal {
inline def setBehavior(value: ScrollBehavior): Self = StObject.set(x, "behavior", value.asInstanceOf[js.Any])
inline def setBehaviorUndefined: Self = StObject.set(x, "behavior", js.undefined)
}
}