igniteui-angular
Version:
Ignite UI for Angular is a dependency-free Angular toolkit for building modern web apps
59 lines (58 loc) • 2.18 kB
TypeScript
import { ElementRef } from '@angular/core';
import { IgxDropDownItemComponent } from '../drop-down/drop-down-item.component';
import { IDropDownBase, Navigate } from '../drop-down/drop-down.common';
import { IgxComboAPIService } from './combo.api';
import { IgxSelectionAPIService } from '../core/selection';
import * as i0 from "@angular/core";
/** @hidden */
export declare class IgxComboItemComponent extends IgxDropDownItemComponent {
protected comboAPI: IgxComboAPIService;
/**
* Gets the height of a list item
*
* @hidden
*/
itemHeight: string | number;
/** @hidden @internal */
get _itemHeightToRem(): number;
get ariaLabel(): string;
/** @hidden @internal */
singleMode: boolean;
/**
* @hidden
*/
get itemID(): any;
/**
* @hidden
*/
get comboID(): string;
/**
* @hidden
* @internal
*/
get disableTransitions(): boolean;
constructor(comboAPI: IgxComboAPIService, dropDown: IDropDownBase, elementRef: ElementRef, selection: IgxSelectionAPIService);
/**
* @hidden
*/
get selected(): boolean;
set selected(value: boolean);
/**
* @hidden
*/
isVisible(direction: Navigate): boolean;
clicked(event: any): void;
/**
* @hidden
* @internal
* The event that is prevented is the click on the checkbox label element.
* That is the only visible element that a user can interact with.
* The click propagates to the host and the preventDefault is to stop it from
* switching focus to the input it's base on.
* The toggle happens in an internal handler in the drop-down on the next task queue cycle.
*/
disableCheck(event: MouseEvent): void;
static ɵfac: i0.ɵɵFactoryDeclaration<IgxComboItemComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<IgxComboItemComponent, "igx-combo-item", never, { "itemHeight": { "alias": "itemHeight"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "singleMode": { "alias": "singleMode"; "required": false; }; }, {}, never, ["*"], true, never>;
static ngAcceptInputType_singleMode: unknown;
}