Compartilhar via


RemoveEvent interface

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()