com.olvind.mui.react.mod.InsHTMLAttributes.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 InsHTMLAttributes[T]
extends StObject
with HTMLAttributes[T] {
var cite: js.UndefOr[String] = js.undefined
var dateTime: js.UndefOr[String] = js.undefined
}
object InsHTMLAttributes {
inline def apply[T](): InsHTMLAttributes[T] = {
val __obj = js.Dynamic.literal()
__obj.asInstanceOf[InsHTMLAttributes[T]]
}
@scala.inline
implicit open class MutableBuilder[Self <: InsHTMLAttributes[?], T] (val x: Self & InsHTMLAttributes[T]) extends AnyVal {
inline def setCite(value: String): Self = StObject.set(x, "cite", value.asInstanceOf[js.Any])
inline def setCiteUndefined: Self = StObject.set(x, "cite", js.undefined)
inline def setDateTime(value: String): Self = StObject.set(x, "dateTime", value.asInstanceOf[js.Any])
inline def setDateTimeUndefined: Self = StObject.set(x, "dateTime", js.undefined)
}
}