type

abstract external var type: (element: Element, text: String, options: typeOptions?) -> Promise<Void>(source)