import { OnInit, ElementRef } from '@angular/core'; import { CfCoreComponent } from '../core/core.component'; import { IconModel } from '../../models/icon/icon.model'; import { SelectOptionModel } from '../../models/select/select-option.model'; import { SelectOptionStylingModel } from '../../models/select/select-option-styling.model'; import { TemplateService } from '../../services/template-service/template.service'; export declare class CfSelectOptionComponent extends CfCoreComponent implements OnInit { /**@hidden */ elementRef: ElementRef; /**@hidden*/ template: any; /** * SelectModel *

Example of SelectModel Class:

*
{{'{'}}
     *  option: 'che',
     *  value: false,
     *  optionValueField: false,
     *  label: this.myFruitsIcon,
     *  optionLabelField: false,
     *  item: false,
     *  optionItemField: true,
     *  icon: true,
     *  optionIconField: 'val'
     * {{'}'}}
*

option: any

*

Option object

*

value: any

*

Option value

*

optionValueField: string

*

Option property name to be used as option value

*

label: any

*

Option label

*

optionLabelField: string

*

Option property name to be used as select text when option is selected and as option text if item property is not specified

*

item: any

*

Option item

*

optionItemField: string

*

Option property name to be used as option item

*

icon: IconModel

*

Option icon

*

optionIconField: string

*

Option property name to be used as option icon

*/ properties: SelectOptionModel; /** *
{{'{'}}
      * // Styling of option icon by IconStylingModel
      * icon: IconStylingModel,
      * // Styling of option label by StylingModel
      * label: StylingModel,
      * // Styling of option item by StylingModel
      * item: StylingModel
      *{{'}'}}
      * 
*/ styling: SelectOptionStylingModel; /** Option object */ option: any; /** Option value */ value: any; /** Option label */ label: any; /** Option icon */ icon: IconModel; /** Option item */ item: any; /**@hidden*/ _hasTemplate: any; /**@hidden*/ _templateInited: any; /**@hidden */ constructor(/**@hidden */ elementRef: ElementRef, /**@hidden */ templateService: TemplateService); /** @hidden */ ngOnInit(): void; }