JsClass

external interface JsClass<T : Any>(source)

Represents the constructor of a class. Instances of JsClass can be passed to JavaScript APIs that expect a constructor reference.

Since Kotlin

1.1

Properties

Link copied to clipboard
val <T : Any> JsClass<T>.kotlin: KClass<T>

Obtains a KClass instance for the given constructor reference.

Since Kotlin 1.1
Link copied to clipboard
abstract val name: String

Returns the unqualified name of the class represented by this instance.

Since Kotlin 1.1