Module: recipe-add

Members

(inner) btn

Click or "Enter" to add a new line for filling ingredients
Source:

(inner) btn

Click or "Enter" to add a new line for filling instructions
Source:

Methods

(inner) addIngredient()

Click to add a new line for filling ingredients
Source:

(inner) addInstruction()

Click to add a new line for filling instructions
Source:

(inner) addNewRecipe()

Add New Recipe to local storage
Source:

(inner) defaultPreference()

Get the default preference and show it
Source:

(async, inner) init()

Initialize and call other function
Source:

(inner) readPreference() → {Array.<string>}

read the check boxes to return a list of preferences
Source:
Returns:
an array of preferences
Type
Array.<string>