gentics-ui-core
Version:
This is the common core framework for the Gentics CMS and Mesh UI, and other Angular applications.
31 lines (30 loc) • 1.18 kB
TypeScript
import { ElementRef } from '@angular/core';
import * as i0 from "@angular/core";
export declare class SelectOption {
elementRef: ElementRef;
icon: string;
private _value;
private _disabled;
constructor(elementRef: ElementRef);
set value(value: any);
get value(): any;
set disabled(value: boolean);
get disabled(): boolean;
/**
* Returns the value of the option as displayed in the view, i.e. a string representation.
*/
get viewValue(): string;
private isPrimitive;
static ɵfac: i0.ɵɵFactoryDeclaration<SelectOption, never>;
static ɵdir: i0.ɵɵDirectiveDeclaration<SelectOption, "gtx-option", never, { "icon": "icon"; "value": "value"; "disabled": "disabled"; }, {}, never>;
}
export declare class SelectOptionGroup {
label: string;
set disabled(value: boolean);
get disabled(): boolean;
private _disabled;
private _options;
get options(): SelectOption[];
static ɵfac: i0.ɵɵFactoryDeclaration<SelectOptionGroup, never>;
static ɵdir: i0.ɵɵDirectiveDeclaration<SelectOptionGroup, "gtx-optgroup", never, { "label": "label"; "disabled": "disabled"; }, {}, ["_options"]>;
}