All Downloads are FREE. Search and download functionalities are using the official Maven repository.

main.react.dom.events.KeyboardEvent.kt Maven / Gradle / Ivy

// Automatically generated - do not modify!

package react.dom.events

import org.w3c.dom.Element

external interface KeyboardEvent : UIEvent {
    val altKey: Boolean

    @Deprecated("Will be removed soon!")
    val charCode: Int
    val ctrlKey: Boolean
    val code: String

    /**
     * See [DOM Level 3 Events spec](https://www.w3.org/TR/uievents-key/#keys-modifier). for a list of valid (case-sensitive) arguments to this method.
     */
    fun getModifierState(key: String): Boolean

    /**
     * See the [DOM Level 3 Events spec](https://www.w3.org/TR/uievents-key/#named-key-attribute-values). for possible values
     */
    val key: String

    @Deprecated("Will be removed soon!")
    val keyCode: Int
    val locale: String
    val location: Int
    val metaKey: Boolean
    val repeat: Boolean
    val shiftKey: Boolean

    @Deprecated("Will be removed soon!")
    val which: Int
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy