Instantiates the class T with the specified arguments.
Instantiates the class T with the specified arguments.
Note that, unlike js.Dynamic.newInstance, this
method accepts scala.Anys as parameters.
(constructorTag: StringAdd).self
(constructorTag: StringFormat).self
(constructorTag: ArrowAssoc[ConstructorTag[T]]).x
(Since version 2.10.0) Use leftOfArrow instead
(constructorTag: Ensuring[ConstructorTag[T]]).x
(Since version 2.10.0) Use resultOfEnsuring instead
Stores the JS constructor function of a JS class.
A
ConstructorTag[T]holds the constructor function of a JS class, as retrieved byjs.constructorOf[T]. Similarly to ClassTags,ConstructorTags can be implicitly materialized whenTis statically known to be a JS class, i.e., a valid type argument tojs.constructorOf.