com.olvind.mui.std.NonElementParentNode.scala Maven / Gradle / Ivy
The newest version!
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 NonElementParentNode extends StObject {
/**
* Returns the first element within node's descendants whose ID is elementId.
*/
/* standard dom */
def getElementById(elementId: java.lang.String): org.scalajs.dom.Element | Null
}
object NonElementParentNode {
inline def apply(getElementById: java.lang.String => org.scalajs.dom.Element | Null): NonElementParentNode = {
val __obj = js.Dynamic.literal(getElementById = js.Any.fromFunction1(getElementById))
__obj.asInstanceOf[NonElementParentNode]
}
@scala.inline
implicit open class MutableBuilder[Self <: NonElementParentNode] (val x: Self) extends AnyVal {
inline def setGetElementById(value: java.lang.String => org.scalajs.dom.Element | Null): Self = StObject.set(x, "getElementById", js.Any.fromFunction1(value))
}
}