Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bobangajicsm/E-Commerce-Store
/ functions
Functions
43 in github.com/bobangajicsm/E-Commerce-Store
⨍
Functions
43
◇
Types & classes
25
↓ 4 callers
Method
getProducts
()
src/app/pages/home/home.component.ts:51
↓ 2 callers
Method
addToCart
(item: CartItem)
src/app/services/cart.service.ts:14
↓ 2 callers
Method
clearCart
()
src/app/services/cart.service.ts:67
↓ 2 callers
Method
removeFromCart
(item: CartItem, updateCart = true)
src/app/services/cart.service.ts:28
↓ 1 callers
Method
getAllCategories
()
src/app/services/store.service.ts:26
↓ 1 callers
Method
getAllProducts
( limit = '12', sort = 'desc', category?: string )
src/app/services/store.service.ts:14
↓ 1 callers
Method
removeQuantity
(item: CartItem)
src/app/services/cart.service.ts:43
Method
cart
()
src/app/components/header/header.component.ts:14
Method
constructor
(private cartService: CartService)
src/app/app.component.ts:12
Method
constructor
(private cartService: CartService)
src/app/components/header/header.component.ts:26
Method
constructor
( private cartService: CartService, private storeService: StoreService )
src/app/pages/home/home.component.ts:22
Method
constructor
()
src/app/pages/home/components/product-box/product-box.component.ts:13
Method
constructor
(private storeService: StoreService)
src/app/pages/home/components/filters/filters.component.ts:20
Method
constructor
()
src/app/pages/home/components/products-header/products-header.component.ts:14
Method
constructor
(private cartService: CartService, private http: HttpClient)
src/app/pages/cart/cart.component.ts:25
Method
constructor
(private httpClient: HttpClient)
src/app/services/store.service.ts:12
Method
constructor
(private _snackBar: MatSnackBar)
src/app/services/cart.service.ts:12
Method
getTotal
(items: CartItem[])
src/app/components/header/header.component.ts:28
Method
getTotal
(items: CartItem[])
src/app/pages/cart/cart.component.ts:34
Method
getTotal
(items: CartItem[])
src/app/services/cart.service.ts:74
Method
ngOnDestroy
()
src/app/pages/home/home.component.ts:69
Method
ngOnDestroy
()
src/app/pages/home/components/filters/filters.component.ts:34
Method
ngOnDestroy
()
src/app/pages/cart/cart.component.ts:67
Method
ngOnInit
()
src/app/app.component.ts:14
Method
ngOnInit
()
src/app/pages/home/home.component.ts:27
Method
ngOnInit
()
src/app/pages/home/components/filters/filters.component.ts:22
Method
ngOnInit
()
src/app/pages/cart/cart.component.ts:27
Method
onAddQuantity
(item: CartItem)
src/app/pages/cart/cart.component.ts:38
Method
onAddToCart
(product: Product)
src/app/pages/home/home.component.ts:59
Method
onAddToCart
()
src/app/pages/home/components/product-box/product-box.component.ts:15
Method
onCheckout
()
src/app/pages/cart/cart.component.ts:54
Method
onClearCart
()
src/app/components/header/header.component.ts:32
Method
onClearCart
()
src/app/pages/cart/cart.component.ts:50
Method
onColumnsCountChange
(colsNum: number)
src/app/pages/home/home.component.ts:31
Method
onColumnsUpdated
(colsNum: number)
src/app/pages/home/components/products-header/products-header.component.ts:16
Method
onItemsCountChange
(count: number)
src/app/pages/home/home.component.ts:36
Method
onItemsUpdated
(count: number)
src/app/pages/home/components/products-header/products-header.component.ts:20
Method
onRemoveFromCart
(item: CartItem)
src/app/pages/cart/cart.component.ts:42
Method
onRemoveQuantity
(item: CartItem)
src/app/pages/cart/cart.component.ts:46
Method
onShowCategory
(newCategory: string)
src/app/pages/home/home.component.ts:46
Method
onShowCategory
(category: string)
src/app/pages/home/components/filters/filters.component.ts:30
Method
onSortChange
(newSort: string)
src/app/pages/home/home.component.ts:41
Method
onSortUpdated
(newSort: string)
src/app/pages/home/components/products-header/products-header.component.ts:25