Class: NewCard

NewCard()

This is the component for the New Card element in the landing page.

Constructor

new NewCard()

Attach the shadowroot which contains the plus sign image and styling of a blank recipe card.
Source:

Methods

addNewRecipe()

Triggers the add action in which the add page will pop up.
Source:
Returns:
Void