Compartilhar via


RemoveEvent interface

Describes the results of the settings.remove event. Includes notifySuccess, and notifyFailure to indicate the status of whether the settings.save call succeeded or not and why.

Methods

notifyFailure(string)

Indicates that removal of the underlying resource failed and that the content cannot be removed.

notifySuccess()

Indicates that the underlying resource has been removed and the content can be removed.

Method Details

notifyFailure(string)

Indicates that removal of the underlying resource failed and that the content cannot be removed.

function notifyFailure(reason?: string)

Parameters

reason

string

Specifies a reason for the failure. If provided, this string is displayed to the user; otherwise a generic error is displayed.

notifySuccess()

Indicates that the underlying resource has been removed and the content can be removed.

function notifySuccess()