com.olvind.mui.react.mod.IframeHTMLAttributes.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 IframeHTMLAttributes[T]
extends StObject
with HTMLAttributes[T] {
var allow: js.UndefOr[String] = js.undefined
var allowFullScreen: js.UndefOr[Boolean] = js.undefined
var allowTransparency: js.UndefOr[Boolean] = js.undefined
/** @deprecated */
var frameBorder: js.UndefOr[Double | String] = js.undefined
var height: js.UndefOr[Double | String] = js.undefined
var loading: js.UndefOr["eager" | "lazy"] = js.undefined
/** @deprecated */
var marginHeight: js.UndefOr[Double] = js.undefined
/** @deprecated */
var marginWidth: js.UndefOr[Double] = js.undefined
var name: js.UndefOr[String] = js.undefined
var referrerPolicy: js.UndefOr[HTMLAttributeReferrerPolicy] = js.undefined
var sandbox: js.UndefOr[String] = js.undefined
/** @deprecated */
var scrolling: js.UndefOr[String] = js.undefined
var seamless: js.UndefOr[Boolean] = js.undefined
var src: js.UndefOr[String] = js.undefined
var srcDoc: js.UndefOr[String] = js.undefined
var width: js.UndefOr[Double | String] = js.undefined
}
object IframeHTMLAttributes {
inline def apply[T](): IframeHTMLAttributes[T] = {
val __obj = js.Dynamic.literal()
__obj.asInstanceOf[IframeHTMLAttributes[T]]
}
@scala.inline
implicit open class MutableBuilder[Self <: IframeHTMLAttributes[?], T] (val x: Self & IframeHTMLAttributes[T]) extends AnyVal {
inline def setAllow(value: String): Self = StObject.set(x, "allow", value.asInstanceOf[js.Any])
inline def setAllowFullScreen(value: Boolean): Self = StObject.set(x, "allowFullScreen", value.asInstanceOf[js.Any])
inline def setAllowFullScreenUndefined: Self = StObject.set(x, "allowFullScreen", js.undefined)
inline def setAllowTransparency(value: Boolean): Self = StObject.set(x, "allowTransparency", value.asInstanceOf[js.Any])
inline def setAllowTransparencyUndefined: Self = StObject.set(x, "allowTransparency", js.undefined)
inline def setAllowUndefined: Self = StObject.set(x, "allow", js.undefined)
inline def setFrameBorder(value: Double | String): Self = StObject.set(x, "frameBorder", value.asInstanceOf[js.Any])
inline def setFrameBorderUndefined: Self = StObject.set(x, "frameBorder", js.undefined)
inline def setHeight(value: Double | String): Self = StObject.set(x, "height", value.asInstanceOf[js.Any])
inline def setHeightUndefined: Self = StObject.set(x, "height", js.undefined)
inline def setLoading(value: "eager" | "lazy"): Self = StObject.set(x, "loading", value.asInstanceOf[js.Any])
inline def setLoadingUndefined: Self = StObject.set(x, "loading", js.undefined)
inline def setMarginHeight(value: Double): Self = StObject.set(x, "marginHeight", value.asInstanceOf[js.Any])
inline def setMarginHeightUndefined: Self = StObject.set(x, "marginHeight", js.undefined)
inline def setMarginWidth(value: Double): Self = StObject.set(x, "marginWidth", value.asInstanceOf[js.Any])
inline def setMarginWidthUndefined: Self = StObject.set(x, "marginWidth", js.undefined)
inline def setName(value: String): Self = StObject.set(x, "name", value.asInstanceOf[js.Any])
inline def setNameUndefined: Self = StObject.set(x, "name", js.undefined)
inline def setReferrerPolicy(value: HTMLAttributeReferrerPolicy): Self = StObject.set(x, "referrerPolicy", value.asInstanceOf[js.Any])
inline def setReferrerPolicyUndefined: Self = StObject.set(x, "referrerPolicy", js.undefined)
inline def setSandbox(value: String): Self = StObject.set(x, "sandbox", value.asInstanceOf[js.Any])
inline def setSandboxUndefined: Self = StObject.set(x, "sandbox", js.undefined)
inline def setScrolling(value: String): Self = StObject.set(x, "scrolling", value.asInstanceOf[js.Any])
inline def setScrollingUndefined: Self = StObject.set(x, "scrolling", js.undefined)
inline def setSeamless(value: Boolean): Self = StObject.set(x, "seamless", value.asInstanceOf[js.Any])
inline def setSeamlessUndefined: Self = StObject.set(x, "seamless", js.undefined)
inline def setSrc(value: String): Self = StObject.set(x, "src", value.asInstanceOf[js.Any])
inline def setSrcDoc(value: String): Self = StObject.set(x, "srcDoc", value.asInstanceOf[js.Any])
inline def setSrcDocUndefined: Self = StObject.set(x, "srcDoc", js.undefined)
inline def setSrcUndefined: Self = StObject.set(x, "src", js.undefined)
inline def setWidth(value: Double | String): Self = StObject.set(x, "width", value.asInstanceOf[js.Any])
inline def setWidthUndefined: Self = StObject.set(x, "width", js.undefined)
}
}