Instance Constructors
-
new
native()
Value Members
-
-
-
final
def
##(): Int
-
def
+(other: String): String
-
def
->[B](y: B): (native, B)
-
-
-
final
def
asInstanceOf[T0]: T0
-
def
clone(): AnyRef
-
-
-
-
-
-
-
def
finalize(): Unit
-
def
formatted(fmtstr: String): String
-
final
def
getClass(): Class[_]
-
def
hashCode(): Int
-
final
def
isInstanceOf[T0]: Boolean
-
-
final
def
notify(): Unit
-
final
def
notifyAll(): Unit
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
-
def
toString(): String
-
final
def
wait(): Unit
-
final
def
wait(arg0: Long, arg1: Int): Unit
-
final
def
wait(arg0: Long): Unit
-
def
→[B](y: B): (native, B)
Shadowed Implicit Value Members
-
-
Inherited by implicit conversion any2ArrowAssoc from
native to ArrowAssoc[native]
Inherited by implicit conversion any2Ensuring from
native to Ensuring[native]
Marks the annotated class, trait or object as a native JS entity.
Native JS entities are not implemented in Scala.js. They are facade types for native JS libraries.
In Scala.js 0.6.x, all types extending js.Any are native by default (unless they are annotated with annotation.ScalaJSDefined), but this will not be the case in the next major version anymore.
Only types extending js.Any can be annotated with
@js.native
. The body of all concrete members in a native JS class, trait or object must be= js.native
.