Class: DeleteConfirmation

DeleteConfirmation()

This is the component for the Delete Confirmation Page.

Constructor

new DeleteConfirmation()

Attach shadowroot which contains the confirmation page.
Source:

Members

data

The data needed to populate the materials are passed in as "data".
Source:

Methods

backToView(data)

Do not delete recipes and return to view page.
Parameters:
Name Type Description
data Object a JSON data object contains information to load back the view recipe page.
Source:
Returns:
Void

deleteRecipe(data)

Delete recipes and return to main page
Parameters:
Name Type Description
data Object a JSON data object contains information to keep track of which recipe is being deleted
Source:
Returns:
Void