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

com.olvind.mui.muiMaterial.imageListItemImageListItemClassesMod.scala Maven / Gradle / Ivy

There is a newer version: 5.11.16
Show newest version
package com.olvind.mui.muiMaterial

import org.scalablytyped.runtime.StObject
import scala.scalajs.js
import scala.scalajs.js.annotation.{JSGlobalScope, JSGlobal, JSImport, JSName, JSBracketAccess}

object imageListItemImageListItemClassesMod {
  
  @JSImport("@mui/material/ImageListItem/imageListItemClasses", JSImport.Namespace)
  @js.native
  val ^ : js.Any = js.native
  
  @JSImport("@mui/material/ImageListItem/imageListItemClasses", JSImport.Default)
  @js.native
  val default: ImageListItemClasses = js.native
  
  inline def getImageListItemUtilityClass(slot: String): String = ^.asInstanceOf[js.Dynamic].applyDynamic("getImageListItemUtilityClass")(slot.asInstanceOf[js.Any]).asInstanceOf[String]
  
  type ImageListItemClassKey = "root" | "img" | "standard" | "woven" | "masonry" | "quilted"
  
  trait ImageListItemClasses extends StObject {
    
    /** Styles applied to an `img` element to ensure it covers the item. */
    var img: String
    
    /** Styles applied to the root element if `variant="masonry"`. */
    var masonry: String
    
    /** Styles applied to the root element if `variant="quilted"`. */
    var quilted: String
    
    /** Styles applied to the root element. */
    var root: String
    
    /** Styles applied to the root element if `variant="standard"`. */
    var standard: String
    
    /** Styles applied to the root element if `variant="woven"`. */
    var woven: String
  }
  object ImageListItemClasses {
    
    inline def apply(img: String, masonry: String, quilted: String, root: String, standard: String, woven: String): ImageListItemClasses = {
      val __obj = js.Dynamic.literal(img = img.asInstanceOf[js.Any], masonry = masonry.asInstanceOf[js.Any], quilted = quilted.asInstanceOf[js.Any], root = root.asInstanceOf[js.Any], standard = standard.asInstanceOf[js.Any], woven = woven.asInstanceOf[js.Any])
      __obj.asInstanceOf[ImageListItemClasses]
    }
    
    @scala.inline
    implicit open class MutableBuilder[Self <: ImageListItemClasses] (val x: Self) extends AnyVal {
      
      inline def setImg(value: String): Self = StObject.set(x, "img", value.asInstanceOf[js.Any])
      
      inline def setMasonry(value: String): Self = StObject.set(x, "masonry", value.asInstanceOf[js.Any])
      
      inline def setQuilted(value: String): Self = StObject.set(x, "quilted", value.asInstanceOf[js.Any])
      
      inline def setRoot(value: String): Self = StObject.set(x, "root", value.asInstanceOf[js.Any])
      
      inline def setStandard(value: String): Self = StObject.set(x, "standard", value.asInstanceOf[js.Any])
      
      inline def setWoven(value: String): Self = StObject.set(x, "woven", value.asInstanceOf[js.Any])
    }
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy