Touch
Generated.swift:16150class Touch
class Touch
import DOM
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(touchInitDict: TouchInit)
required init(unsafelyWrapping jsObject: JSObject)
class var constructor: JSFunction? { get }
@ReadonlyAttribute var altitudeAngle: Float { get }
@ReadonlyAttribute var azimuthAngle: Float { get }
@ReadonlyAttribute var clientX: Double { get }
@ReadonlyAttribute var clientY: Double { get }
@ReadonlyAttribute var force: Float { get }
@ReadonlyAttribute var identifier: Int32 { get }
let jsObject: JSObject
@ReadonlyAttribute var pageX: Double { get }
@ReadonlyAttribute var pageY: Double { get }
@ReadonlyAttribute var radiusX: Float { get }
@ReadonlyAttribute var radiusY: Float { get }
@ReadonlyAttribute var rotationAngle: Float { get }
@ReadonlyAttribute var screenX: Double { get }
@ReadonlyAttribute var screenY: Double { get }
@ReadonlyAttribute var target: EventTarget { get }
@ReadonlyAttribute var touchType: TouchType { get }
init?(from value: JSValue)
init?(from object: JSObject)
static func construct(from value: JSValue) -> Self?
var description: String { get }
var jsValue: JSValue { get }
func jsValue() -> JSValue