# How do I call InputEvent.inputType in Kotlin/js

**URL:** <https://discuss.kotlinlang.org/t/how-do-i-call-inputevent-inputtype-in-kotlin-js/26414>\
**Category:** JavaScript\
**Created:** [February 22, 2023, 2:54am UTC](https://discuss.kotlinlang.org/t/how-do-i-call-inputevent-inputtype-in-kotlin-js/26414 "2023-02-22T02:54:20Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![dlwss](https://avatars.discourse-cdn.com/v4/letter/d/3ec8ea/32.png) [@dlwss](https://discuss.kotlinlang.org/u/dlwss)\
**Post date:** [February 22, 2023, 2:54am UTC](https://discuss.kotlinlang.org/t/how-do-i-call-inputevent-inputtype-in-kotlin-js/26414/1 "2023-02-22T02:54:20Z")

</div>

I checked the standard library.  
Without this attribute in the [InputEvent - Kotlin Programming Language](https://kotlinlang.org/api/latest/jvm/stdlib/org.w3c.dom.events/-input-event/), but in the standard WebAPI has this property  
[InputEvent.inputType - Web APIs | MDN](https://developer.mozilla.org/en-US/docs/Web/API/InputEvent/inputType)

So how do I call this property? Is there a way to extend it?
