File

projects/congarevenuecloud/elements/src/lib/constraint-rule/constraint-icon/constraint-icon.component.ts

Description

The icon to display when there is an alert related to constraint rules.

Preview

Usage

Example :
import { ConstraintIconModule } from '@congarevenuecloud/elements';

@NgModule({
imports: [ConstraintIconModule, ...]
})
export class AppModule {}
Example :
```typescript
<apt-cr-constraint-icon></apt-cr-constraint-icon>
Example :

Implements

OnInit

Metadata

Index

Properties
Methods

Constructor

constructor(crService: ConstraintRuleService, bsModalService: BsModalService, constraintRuleMessageService: ConstraintRuleMessageService)
Parameters :
Name Type Optional
crService ConstraintRuleService No
bsModalService BsModalService No
constraintRuleMessageService ConstraintRuleMessageService No

Methods

loadView
loadView()

The method is responsible to fetch the list of pending applied rule actions for the primary cart, to display the icon when there is alert related to constraint rules.

Returns : void

Properties

modalRef
Type : BsModalRef

Bootstrap modal reference.

./constraint-icon.component.scss

:host{
    span.badge{
        top: 19px;
        right: 0px;
    }
}
Legend
Html element
Component
Html element with directive

results matching ""

    No results matching ""