com.olvind.mui.react.mod.OlHTMLAttributes.scala Maven / Gradle / Ivy
The newest version!
package com.olvind.mui.react.mod
import org.scalablytyped.runtime.StObject
import scala.scalajs.js
import scala.scalajs.js.annotation.{JSGlobalScope, JSGlobal, JSImport, JSName, JSBracketAccess}
trait OlHTMLAttributes[T]
extends StObject
with HTMLAttributes[T] {
var reversed: js.UndefOr[Boolean] = js.undefined
var start: js.UndefOr[Double] = js.undefined
var `type`: js.UndefOr["1" | "a" | "A" | "i" | "I"] = js.undefined
}
object OlHTMLAttributes {
inline def apply[T](): OlHTMLAttributes[T] = {
val __obj = js.Dynamic.literal()
__obj.asInstanceOf[OlHTMLAttributes[T]]
}
@scala.inline
implicit open class MutableBuilder[Self <: OlHTMLAttributes[?], T] (val x: Self & OlHTMLAttributes[T]) extends AnyVal {
inline def setReversed(value: Boolean): Self = StObject.set(x, "reversed", value.asInstanceOf[js.Any])
inline def setReversedUndefined: Self = StObject.set(x, "reversed", js.undefined)
inline def setStart(value: Double): Self = StObject.set(x, "start", value.asInstanceOf[js.Any])
inline def setStartUndefined: Self = StObject.set(x, "start", js.undefined)
inline def setType(value: "1" | "a" | "A" | "i" | "I"): Self = StObject.set(x, "type", value.asInstanceOf[js.Any])
inline def setTypeUndefined: Self = StObject.set(x, "type", js.undefined)
}
}