sealed trait Dynamic extends Any with scala.Dynamic
Dynamically typed JavaScript value.
Values of this trait accept all possible JavaScript operations in a dynamically typed way. You can read and write any field, call any method, apply any JavaScript operator to values of this type.
- Annotations
- @JSType() @native()
- Alphabetic
- By Inheritance
- Dynamic
- Dynamic
- Any
- AnyRef
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: scala.Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
- def %(that: Dynamic): Dynamic
- def &(that: Dynamic): Dynamic
- def &&(that: Dynamic): Dynamic
- def *(that: Dynamic): Dynamic
- def +(that: Dynamic): Dynamic
- def -(that: Dynamic): Dynamic
- def ->[B](y: B): (Dynamic, B)
- def /(that: Dynamic): Dynamic
- def <(that: Dynamic): Dynamic
- def <<(that: Dynamic): Dynamic
- def <=(that: Dynamic): Dynamic
-
final
def
==(arg0: scala.Any): Boolean
- Definition Classes
- AnyRef → Any
- def >(that: Dynamic): Dynamic
- def >=(that: Dynamic): Dynamic
- def >>(that: Dynamic): Dynamic
- def >>>(that: Dynamic): Dynamic
- def ^(that: Dynamic): Dynamic
-
def
apply(args: Any*): Dynamic
Calls this object as a callable.
-
def
applyDynamic(name: String)(args: Any*): Dynamic
Calls a method of this object.
Calls a method of this object.
- Annotations
- @JSBracketCall()
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
- def ensuring(cond: (Dynamic) ⇒ Boolean, msg: ⇒ scala.Any): Dynamic
- def ensuring(cond: (Dynamic) ⇒ Boolean): Dynamic
- def ensuring(cond: Boolean, msg: ⇒ scala.Any): Dynamic
- def ensuring(cond: Boolean): Dynamic
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: scala.Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
selectDynamic(name: String): Dynamic
Reads a field of this object.
Reads a field of this object.
- Annotations
- @JSBracketAccess()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
- def unary_!: Dynamic
- def unary_+: Dynamic
- def unary_-: Dynamic
- def unary_~: Dynamic
-
def
updateDynamic(name: String)(value: Any): Unit
Writes a field of this object.
Writes a field of this object.
- Annotations
- @JSBracketAccess()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
- def |(that: Dynamic): Dynamic
- def ||(that: Dynamic): Dynamic
- def →[B](y: B): (Dynamic, B)
Shadowed Implicit Value Members
-
def
+(other: String): String
- Implicit
- This member is added by an implicit conversion from Dynamic to any2stringadd[Dynamic] performed by method any2stringadd in scala.Predef.
- Shadowing
- This implicitly inherited member is shadowed by one or more members in this class.
To access this member you can use a type ascription:(dynamic: any2stringadd[Dynamic]).+(other)
- Definition Classes
- any2stringadd
Deprecated Value Members
-
def
formatted(fmtstr: String): String
- Implicit
- This member is added by an implicit conversion from Dynamic to StringFormat[Dynamic] performed by method StringFormat in scala.Predef.
- Definition Classes
- StringFormat
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.12.16) Use
formatString.format(value)
instead ofvalue.formatted(formatString)
, or use thef""
string interpolator. In Java 15 and later,formatted
resolves to the new method in String which has reversed parameters.