projects/congarevenuecloud/elements/src/lib/constraint-rule/constraint-icon/constraint-icon.component.ts
The icon to display when there is an alert related to constraint rules.
import { ConstraintIconModule } from '@congarevenuecloud/elements';
@NgModule({
imports: [ConstraintIconModule, ...]
})
export class AppModule {}
```typescript
<apt-cr-constraint-icon></apt-cr-constraint-icon>
OnInit
selector | apt-cr-constraint-icon |
styleUrls | ./constraint-icon.component.scss |
template |
|
Properties |
Methods |
constructor(crService: ConstraintRuleService, bsModalService: BsModalService, constraintRuleMessageService: ConstraintRuleMessageService)
|
||||||||||||
Parameters :
|
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
|
modalRef |
Type : BsModalRef
|
Bootstrap modal reference. |
./constraint-icon.component.scss
:host{
span.badge{
top: 19px;
right: 0px;
}
}