classnative extends Annotation with StaticAnnotation
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.
This member is added by an implicit conversion from native to
ArrowAssoc[native] performed by method any2ArrowAssoc in scala.Predef.
Definition Classes
ArrowAssoc
Shadowed Implicit Value Members
valself: scala.Any
Implicit information
This member is added by an implicit conversion from native to
StringAdd performed by method any2stringadd in scala.Predef.
Shadowing
This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error. To access this member you can use a type ascription:
(native: StringAdd).self
Definition Classes
StringAdd
valself: scala.Any
Implicit information
This member is added by an implicit conversion from native to
StringFormat performed by method any2stringfmt in scala.Predef.
Shadowing
This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error. To access this member you can use a type ascription:
This member is added by an implicit conversion from native to
ArrowAssoc[native] performed by method any2ArrowAssoc in scala.Predef.
Shadowing
This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error. To access this member you can use a type ascription:
This member is added by an implicit conversion from native to
Ensuring[native] performed by method any2Ensuring in scala.Predef.
Shadowing
This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error. To access this member you can use a type ascription:
(native: Ensuring[native]).x
Definition Classes
Ensuring
Annotations
@deprecated
Deprecated
(Since version 2.10.0) Use resultOfEnsuring instead
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
.