new PerformanceWatchdog(optionsopt)
Monitors performance of the application and displays a message if poor performance is detected.
Parameters:
Name | Type | Attributes | Description | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
Object |
<optional> |
Object with the following properties:
Properties
|
Members
container :Element
Gets the parent container.
Type:
- Element
viewModel :PerformanceWatchdogViewModel
Gets the view model.
Type:
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.
- Type
- Boolean