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

com.olvind.mui.muiMaterial.anon.PartialSwitchClasses.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/Switch/switchClasses.SwitchClasses> */
trait PartialSwitchClasses extends StObject {
  
  var checked: js.UndefOr[String] = js.undefined
  
  var colorPrimary: js.UndefOr[String] = js.undefined
  
  var colorSecondary: js.UndefOr[String] = js.undefined
  
  var disabled: js.UndefOr[String] = js.undefined
  
  var edgeEnd: js.UndefOr[String] = js.undefined
  
  var edgeStart: js.UndefOr[String] = js.undefined
  
  var input: js.UndefOr[String] = js.undefined
  
  var root: js.UndefOr[String] = js.undefined
  
  var sizeMedium: js.UndefOr[String] = js.undefined
  
  var sizeSmall: js.UndefOr[String] = js.undefined
  
  var switchBase: js.UndefOr[String] = js.undefined
  
  var thumb: js.UndefOr[String] = js.undefined
  
  var track: js.UndefOr[String] = js.undefined
}
object PartialSwitchClasses {
  
  inline def apply(): PartialSwitchClasses = {
    val __obj = js.Dynamic.literal()
    __obj.asInstanceOf[PartialSwitchClasses]
  }
  
  @scala.inline
  implicit open class MutableBuilder[Self <: PartialSwitchClasses] (val x: Self) extends AnyVal {
    
    inline def setChecked(value: String): Self = StObject.set(x, "checked", value.asInstanceOf[js.Any])
    
    inline def setCheckedUndefined: Self = StObject.set(x, "checked", js.undefined)
    
    inline def setColorPrimary(value: String): Self = StObject.set(x, "colorPrimary", value.asInstanceOf[js.Any])
    
    inline def setColorPrimaryUndefined: Self = StObject.set(x, "colorPrimary", js.undefined)
    
    inline def setColorSecondary(value: String): Self = StObject.set(x, "colorSecondary", value.asInstanceOf[js.Any])
    
    inline def setColorSecondaryUndefined: Self = StObject.set(x, "colorSecondary", 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 setEdgeEnd(value: String): Self = StObject.set(x, "edgeEnd", value.asInstanceOf[js.Any])
    
    inline def setEdgeEndUndefined: Self = StObject.set(x, "edgeEnd", js.undefined)
    
    inline def setEdgeStart(value: String): Self = StObject.set(x, "edgeStart", value.asInstanceOf[js.Any])
    
    inline def setEdgeStartUndefined: Self = StObject.set(x, "edgeStart", js.undefined)
    
    inline def setInput(value: String): Self = StObject.set(x, "input", value.asInstanceOf[js.Any])
    
    inline def setInputUndefined: Self = StObject.set(x, "input", 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 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 setSwitchBase(value: String): Self = StObject.set(x, "switchBase", value.asInstanceOf[js.Any])
    
    inline def setSwitchBaseUndefined: Self = StObject.set(x, "switchBase", js.undefined)
    
    inline def setThumb(value: String): Self = StObject.set(x, "thumb", value.asInstanceOf[js.Any])
    
    inline def setThumbUndefined: Self = StObject.set(x, "thumb", js.undefined)
    
    inline def setTrack(value: String): Self = StObject.set(x, "track", value.asInstanceOf[js.Any])
    
    inline def setTrackUndefined: Self = StObject.set(x, "track", js.undefined)
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy