WidgetStatusHelper

Last Update: 9/26/2016

Module path: TFS/Dashboards/WidgetHelpers

Members

Success()

Static method that returns success as WidgetStatus wrapped in a promise

Syntax

 void WidgetStatusHelper.Success()

Parameters

None

Failure()

Static method that returns failure as WidgetStatus wrapped in a promise.

Syntax

 void WidgetStatusHelper.Failure(message)

Parameters

  • message: string. The error message for the failure.