
com.olvind.mui.react.mod.LabelHTMLAttributes.scala Maven / Gradle / Ivy
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 LabelHTMLAttributes[T]
extends StObject
with HTMLAttributes[T] {
var form: js.UndefOr[String] = js.undefined
var htmlFor: js.UndefOr[String] = js.undefined
}
object LabelHTMLAttributes {
inline def apply[T](): LabelHTMLAttributes[T] = {
val __obj = js.Dynamic.literal()
__obj.asInstanceOf[LabelHTMLAttributes[T]]
}
@scala.inline
implicit open class MutableBuilder[Self <: LabelHTMLAttributes[?], T] (val x: Self & LabelHTMLAttributes[T]) extends AnyVal {
inline def setForm(value: String): Self = StObject.set(x, "form", value.asInstanceOf[js.Any])
inline def setFormUndefined: Self = StObject.set(x, "form", js.undefined)
inline def setHtmlFor(value: String): Self = StObject.set(x, "htmlFor", value.asInstanceOf[js.Any])
inline def setHtmlForUndefined: Self = StObject.set(x, "htmlFor", js.undefined)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy