Performance 类
- 继承
-
- Object
- EventTarget
- Performance
- 注解
-
- @SupportedBrowser(SupportedBrowser.CHROME)
- @SupportedBrowser(SupportedBrowser.FIREFOX)
- @SupportedBrowser(SupportedBrowser.IE)
- @Native("Performance")
属性
- hashCode → int
- 该对象的哈希值。无设置器继承
- memory → MemoryInfo?
-
无设置器
-
无设置器
- on → Events
- 这是一个易用的访问器,用于事件流,应仅在显式访问器不可用时使用。无设置器继承
- runtimeType → Type
- 对象运行时类型的表示。无设置器继承
- timeOrigin → num?
-
无设置器
- timing → PerformanceTiming
-
无设置器
方法
-
addEventListener(
String type, EventListener? listener, [bool? useCapture]) → void -
继承
-
clearMarks(
String? markName) → void -
clearMeasures(
String? measureName) → void -
clearResourceTimings(
) → void -
dispatchEvent(
Event event) → bool -
继承
-
getEntries(
) → List< PerformanceEntry> -
getEntriesByName(
String name, String? entryType) → List< PerformanceEntry> -
getEntriesByType(
String entryType) → List< PerformanceEntry> -
mark(
String markName, [Map? markOptions]) → PerformanceEntry? -
measure(
String measureName, [dynamic measureOptions_OR_startMark, String? endMark]) → PerformanceMeasure? -
noSuchMethod(
Invocation invocation) → dynamic - 调用不存在的方法或属性时触发。继承
-
now(
) → double -
removeEventListener(
String type, EventListener? listener, bool? useCapture]) → void -
继承
-
setResourceTimingBufferSize(
int maxSize) → void -
toString(
) → String - 本对象的字符串表示形式。继承
运算符
-
operator ==(
Object other) → bool - 相等运算符。继承