src/ui/viewer/components/field/wrappers/badge/badge-wrapper.component.ts
| changeDetection | ChangeDetectionStrategy.Eager |
| selector | smart-badge-wrapper |
| templateUrl | ./badge-wrapper.component.html |
Properties |
|
Methods |
|
Inputs |
Outputs |
| componentInstance |
Type : any
|
| contentStyle |
Type : any
|
| field |
Type : any
|
| fieldStyle |
Type : any
|
| hasAbsolutePosition |
Type : boolean
|
| isNumeric |
Type : boolean
|
| model |
Type : any
|
| selected |
Type : any
|
| showDateTimeZone |
Type : boolean
|
| useDateTimeZones |
Type : boolean
|
| modelChange |
Type : EventEmitter<any>
|
| Public updateValue | ||||||
updateValue(newValue: any)
|
||||||
|
Parameters :
Returns :
void
|
| Readonly badgeComponent |
Type : unknown
|
Default value : viewChild.required(SmartBadgeComponent)
|
| Readonly badgeElement |
Type : unknown
|
Default value : viewChild.required('vBadge', { read: ElementRef })
|
| Public elementRef |
Type : ElementRef
|
| enabledStateDirective |
Type : EnabledStateDirective
|
Decorators :
@ViewChild(EnabledStateDirective)
|
| Public helperService |
Type : SmartViewerHelperService<AbstractFrameComponent>
|
| smartWidgetDirective |
Type : InputFacadeDirective
|
Decorators :
@ViewChild(InputFacadeDirective)
|
<smart-badge
class="h-100"
style="max-width: 100%; min-width: 0"
#vBadge
smart-widget
[name]="field.fieldName"
[componentInstance]="vBadge"
[attr.dataHelpUrl]="field.inputSettings?.helpUrl"
[valueList]="$safeNavigationMigration(field.inputSettings?.valueList)"
[ngModel]="model"
></smart-badge>