Class: ProductList

Components.ProductList

new ProductList()

Renders a list of products with corresponding provider names. A link is generated for both provider and product.
Source:

Methods

(inner) findProductByName() → {models.Product}

Finds a product model by the product name.
Source:
Returns:
Type
models.Product

(inner) groupProviders()

Creates an object containing providers to products.
Source:
Returns:
Object containing provider as key and product array as value
Example
{
     'Amazon': ['AWS', 'SomeOtherProduct']
}

(inner) sortProductKeys()

Sorts the product keys in ascending order
Source: