core/forms/messages.component.ts
selector | c8y-messages |
templateUrl | ./messages.component.html |
Properties |
Methods |
Inputs |
constructor(translateService: TranslateService)
|
||||||
Parameters :
|
defaults |
Type : literal type
|
Default value : ValidationPattern.messages
|
show |
Type : literal type
|
Default value : {}
|
changVisibility | ||||||
changVisibility(show: literal type)
|
||||||
Parameters :
Returns :
void
|
ngAfterContentInit |
ngAfterContentInit()
|
Returns :
void
|
ngOnChanges |
ngOnChanges()
|
Returns :
void
|
customMessages |
Type : QueryList<MessageDirective>
|
Decorators :
@ContentChildren(MessageDirective)
|
messageMap |
Type : any
|
Default value : {}
|
messages |
Type : []
|
Default value : []
|
<small class="form-control-feedback-message">
<div class="d-block" *ngFor="let msg of messages">
{{msg | translate}}
</div>
<ng-content></ng-content>
</small>