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