MutationEvent
Generated.swift:12005class MutationEvent
class MutationEvent
import DOM
class Event
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.
required init(unsafelyWrapping jsObject: JSObject)
static let ADDITION: UInt16
static let MODIFICATION: UInt16
static let REMOVAL: UInt16
override class var constructor: JSFunction? { get }
@ReadonlyAttribute var attrChange: UInt16 { get }
@ReadonlyAttribute var attrName: String { get }
@ReadonlyAttribute var newValue: String { get }
@ReadonlyAttribute var prevValue: String { get }
@ReadonlyAttribute var relatedNode: Node? { get }
func initMutationEvent(typeArg: String, bubblesArg: Bool? = nil, cancelableArg: Bool? = nil, relatedNodeArg: Node? = nil, prevValueArg: String? = nil, newValueArg: String? = nil, attrNameArg: String? = nil, attrChangeArg: UInt16? = nil)