TouchEvent
Generated.swift:16224class TouchEvent
class TouchEvent
import DOM
class UIEvent
protocol Any_Event_or_String : ConvertibleToJSValue
protocol ConstructibleFromJSValue
Types conforming to this protocol can be constructed from JSValue
.
protocol ConvertibleToJSValue
Objects that can be converted to a JavaScript value, preferably in a lossless manner.
protocol CustomStringConvertible
A type with a customized textual representation.
protocol JSBridgedClass : JSBridgedType
Conform to this protocol when your Swift class wraps a JavaScript class.
protocol JSBridgedType : ConstructibleFromJSValue, ConvertibleToJSValue, CustomStringConvertible
Use this protocol when your type has no single JavaScript class. For example, a union type of multiple classes or primitive values.
convenience init(type: String, eventInitDict: TouchEventInit? = nil)
required init(unsafelyWrapping jsObject: JSObject)
override class var constructor: JSFunction? { get }
@ReadonlyAttribute var altKey: Bool { get }
@ReadonlyAttribute var changedTouches: TouchList { get }
@ReadonlyAttribute var ctrlKey: Bool { get }
@ReadonlyAttribute var metaKey: Bool { get }
@ReadonlyAttribute var shiftKey: Bool { get }
@ReadonlyAttribute var targetTouches: TouchList { get }
@ReadonlyAttribute var touches: TouchList { get }
subscript(key: String) -> Bool { get }
func getModifierState(keyArg: String) -> Bool