extend

fun extend(props: JsAny): JsAny(source)

Extends the current class given the properties to be included. Returns a Javascript function that is a class constructor (to be called with new).