All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.olvind.mui.react.mod.BaseHTMLAttributes.scala Maven / Gradle / Ivy

There is a newer version: 5.11.16
Show 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 BaseHTMLAttributes[T]
  extends StObject
     with HTMLAttributes[T] {
  
  var href: js.UndefOr[String] = js.undefined
  
  var target: js.UndefOr[String] = js.undefined
}
object BaseHTMLAttributes {
  
  inline def apply[T](): BaseHTMLAttributes[T] = {
    val __obj = js.Dynamic.literal()
    __obj.asInstanceOf[BaseHTMLAttributes[T]]
  }
  
  @scala.inline
  implicit open class MutableBuilder[Self <: BaseHTMLAttributes[?], T] (val x: Self & BaseHTMLAttributes[T]) extends AnyVal {
    
    inline def setHref(value: String): Self = StObject.set(x, "href", value.asInstanceOf[js.Any])
    
    inline def setHrefUndefined: Self = StObject.set(x, "href", js.undefined)
    
    inline def setTarget(value: String): Self = StObject.set(x, "target", value.asInstanceOf[js.Any])
    
    inline def setTargetUndefined: Self = StObject.set(x, "target", js.undefined)
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy