Performance
Generated.swift:13354class Performance
class Performance
import DOM
class EventTarget
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)
override class var constructor: JSFunction? { get }
@ReadonlyAttribute var timeOrigin: DOMHighResTimeStamp { get }
func getEntries() -> PerformanceEntryList
func getEntriesByName(name: String, type: String? = nil) -> PerformanceEntryList
func getEntriesByType(type: String) -> PerformanceEntryList
func now() -> DOMHighResTimeStamp
func toJSON() -> JSObject