com.olvind.mui.muiMaterial.anon.PartialRatingClasses.scala Maven / Gradle / Ivy
The newest version!
package com.olvind.mui.muiMaterial.anon
import org.scalablytyped.runtime.StObject
import scala.scalajs.js
import scala.scalajs.js.annotation.{JSGlobalScope, JSGlobal, JSImport, JSName, JSBracketAccess}
/* Inlined std.Partial<@mui/material.@mui/material/Rating/ratingClasses.RatingClasses> */
trait PartialRatingClasses extends StObject {
var decimal: js.UndefOr[String] = js.undefined
var disabled: js.UndefOr[String] = js.undefined
var focusVisible: js.UndefOr[String] = js.undefined
var icon: js.UndefOr[String] = js.undefined
var iconActive: js.UndefOr[String] = js.undefined
var iconEmpty: js.UndefOr[String] = js.undefined
var iconFilled: js.UndefOr[String] = js.undefined
var iconFocus: js.UndefOr[String] = js.undefined
var iconHover: js.UndefOr[String] = js.undefined
var label: js.UndefOr[String] = js.undefined
var labelEmptyValueActive: js.UndefOr[String] = js.undefined
var readOnly: js.UndefOr[String] = js.undefined
var root: js.UndefOr[String] = js.undefined
var sizeLarge: js.UndefOr[String] = js.undefined
var sizeMedium: js.UndefOr[String] = js.undefined
var sizeSmall: js.UndefOr[String] = js.undefined
var visuallyHidden: js.UndefOr[String] = js.undefined
}
object PartialRatingClasses {
inline def apply(): PartialRatingClasses = {
val __obj = js.Dynamic.literal()
__obj.asInstanceOf[PartialRatingClasses]
}
@scala.inline
implicit open class MutableBuilder[Self <: PartialRatingClasses] (val x: Self) extends AnyVal {
inline def setDecimal(value: String): Self = StObject.set(x, "decimal", value.asInstanceOf[js.Any])
inline def setDecimalUndefined: Self = StObject.set(x, "decimal", js.undefined)
inline def setDisabled(value: String): Self = StObject.set(x, "disabled", value.asInstanceOf[js.Any])
inline def setDisabledUndefined: Self = StObject.set(x, "disabled", js.undefined)
inline def setFocusVisible(value: String): Self = StObject.set(x, "focusVisible", value.asInstanceOf[js.Any])
inline def setFocusVisibleUndefined: Self = StObject.set(x, "focusVisible", js.undefined)
inline def setIcon(value: String): Self = StObject.set(x, "icon", value.asInstanceOf[js.Any])
inline def setIconActive(value: String): Self = StObject.set(x, "iconActive", value.asInstanceOf[js.Any])
inline def setIconActiveUndefined: Self = StObject.set(x, "iconActive", js.undefined)
inline def setIconEmpty(value: String): Self = StObject.set(x, "iconEmpty", value.asInstanceOf[js.Any])
inline def setIconEmptyUndefined: Self = StObject.set(x, "iconEmpty", js.undefined)
inline def setIconFilled(value: String): Self = StObject.set(x, "iconFilled", value.asInstanceOf[js.Any])
inline def setIconFilledUndefined: Self = StObject.set(x, "iconFilled", js.undefined)
inline def setIconFocus(value: String): Self = StObject.set(x, "iconFocus", value.asInstanceOf[js.Any])
inline def setIconFocusUndefined: Self = StObject.set(x, "iconFocus", js.undefined)
inline def setIconHover(value: String): Self = StObject.set(x, "iconHover", value.asInstanceOf[js.Any])
inline def setIconHoverUndefined: Self = StObject.set(x, "iconHover", js.undefined)
inline def setIconUndefined: Self = StObject.set(x, "icon", js.undefined)
inline def setLabel(value: String): Self = StObject.set(x, "label", value.asInstanceOf[js.Any])
inline def setLabelEmptyValueActive(value: String): Self = StObject.set(x, "labelEmptyValueActive", value.asInstanceOf[js.Any])
inline def setLabelEmptyValueActiveUndefined: Self = StObject.set(x, "labelEmptyValueActive", js.undefined)
inline def setLabelUndefined: Self = StObject.set(x, "label", js.undefined)
inline def setReadOnly(value: String): Self = StObject.set(x, "readOnly", value.asInstanceOf[js.Any])
inline def setReadOnlyUndefined: Self = StObject.set(x, "readOnly", js.undefined)
inline def setRoot(value: String): Self = StObject.set(x, "root", value.asInstanceOf[js.Any])
inline def setRootUndefined: Self = StObject.set(x, "root", js.undefined)
inline def setSizeLarge(value: String): Self = StObject.set(x, "sizeLarge", value.asInstanceOf[js.Any])
inline def setSizeLargeUndefined: Self = StObject.set(x, "sizeLarge", js.undefined)
inline def setSizeMedium(value: String): Self = StObject.set(x, "sizeMedium", value.asInstanceOf[js.Any])
inline def setSizeMediumUndefined: Self = StObject.set(x, "sizeMedium", js.undefined)
inline def setSizeSmall(value: String): Self = StObject.set(x, "sizeSmall", value.asInstanceOf[js.Any])
inline def setSizeSmallUndefined: Self = StObject.set(x, "sizeSmall", js.undefined)
inline def setVisuallyHidden(value: String): Self = StObject.set(x, "visuallyHidden", value.asInstanceOf[js.Any])
inline def setVisuallyHiddenUndefined: Self = StObject.set(x, "visuallyHidden", js.undefined)
}
}