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

com.olvind.mui.std.Slottable.scala Maven / Gradle / Ivy

package com.olvind.mui.std

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

trait Slottable extends StObject {
  
  /* standard dom */
  val assignedSlot: HTMLSlotElement | Null
}
object Slottable {
  
  inline def apply(): Slottable = {
    val __obj = js.Dynamic.literal(assignedSlot = null)
    __obj.asInstanceOf[Slottable]
  }
  
  @scala.inline
  implicit open class MutableBuilder[Self <: Slottable] (val x: Self) extends AnyVal {
    
    inline def setAssignedSlot(value: HTMLSlotElement): Self = StObject.set(x, "assignedSlot", value.asInstanceOf[js.Any])
    
    inline def setAssignedSlotNull: Self = StObject.set(x, "assignedSlot", null)
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy