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