new PerformanceWatchdog(options)
Monitors performance of the application and displays a message if poor performance is detected.
Name | Type | Description | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
Object |
optional
Object with the following properties:
|
Members
-
container :Element
-
Gets the parent container.
-
viewModel :PerformanceWatchdogViewModel
-
Gets the view model.
Methods
-
destroy()
-
Destroys the widget. Should be called if permanently removing the widget from layout.
-
isDestroyed() → Boolean
-
Returns:
true if the object has been destroyed, false otherwise.