DaffStatefulCartItem

The state of the cart item is intended to enhance the client side UX like indicating when a cart item was recently added/updated. For states that indicate the completion of some process, the state is given a decay time based on the DaffCartItemStateDebounceTime injection token. For example when a cart item is added to the cart, the state of that item will be "New" for a designated time then will revert to the default state.

Properties

Name Type Description
daffState DaffCartItemStateEnum
Graycore, LLC © 2018 - 2024. Code licensed under an MIT-style License. Documentation licensed under CC BY 4.0.