File

core/forms/messages.component.ts

Metadata

Index

Properties
Methods
Inputs

Constructor

constructor(translateService: TranslateService)
Parameters :
Name Type Optional
translateService TranslateService No

Inputs

defaults
Type : literal type
Default value : ValidationPattern.messages
show
Type : literal type
Default value : {}

Methods

changVisibility
changVisibility(show: literal type)
Parameters :
Name Type Optional
show literal type No
Returns : void
ngAfterContentInit
ngAfterContentInit()
Returns : void
ngOnChanges
ngOnChanges()
Returns : void

Properties

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>

results matching ""

    No results matching ""