src/ui/logical-combo/smart-logical-combo.component.ts
AbstractSmartComponent
| selector | smart-logical-combo |
| styleUrls | ./smart-logical-combo.component.css |
| templateUrl | ./smart-logical-combo.component.html |
Properties |
Methods |
Inputs |
Outputs |
Accessors |
constructor(elementRef: ElementRef, zone: NgZone)
|
|||||||||
|
Parameters :
|
| disabled |
Type : boolean
|
| format |
Type : string
|
| mandatory |
Type : boolean
|
| selected |
Type : any
|
| smartModel |
Type : any
|
| blur |
Type : EventEmitter<void>
|
| focus |
Type : EventEmitter<void>
|
| smartModelChange |
Type : EventEmitter<boolean>
|
| callNativeMethod | |||||||||
callNativeMethod(methodName: string, args: any[])
|
|||||||||
|
Parameters :
Returns :
any
|
| Public computeDropdownItems |
computeDropdownItems()
|
|
Returns :
void
|
| getNativeProperty | ||||||
getNativeProperty(propertyName: string)
|
||||||
|
Parameters :
Returns :
any
|
| Public onSelectionChanged | ||||||
onSelectionChanged(event: any)
|
||||||
|
Parameters :
Returns :
void
|
| setNativeProperty |
setNativeProperty(propertyName: string, value: any)
|
|
Returns :
void
|
| dropdownItems |
Type : literal type[]
|
Default value : []
|
| selectedItem |
Type : literal type
|
| visible |
Default value : true
|
| disabled | ||||||
getdisabled()
|
||||||
|
Returns :
boolean
|
||||||
setdisabled(value: boolean)
|
||||||
|
Parameters :
Returns :
void
|
| ngModel | ||||||
getngModel()
|
||||||
|
Returns :
any
|
||||||
setngModel(value: any)
|
||||||
|
Parameters :
Returns :
void
|
| comboboxComponent |
getcomboboxComponent()
|
|
Returns :
ComboBoxComponent
|
<kendo-combobox
(blur)="blur.next()"
(focus)="focus.next()"
[clearButton]="!mandatory"
#logicalcombo
[data]="dropdownItems"
[valuePrimitive]="false"
textField="display"
[ngModel]="selectedItem"
valueField="value"
(selectionChange)="onSelectionChanged($event)"
[disabled]="disabled">
</kendo-combobox>
./smart-logical-combo.component.css