/** Core */ import { CoreComponent } from "cmf.core/src/core"; /** Angular2 */ import * as ng from "@angular/core"; import { DropdownElement } from "../dropdown/dropdown"; /** * @whatItDoes * The MoreOptionsDropDown component. * This component serves as a container for templates of items served in a dropDown menu * * @howToUse * This component is used with the inputs and outputs mentioned below. * * ### Inputs * `any[]` : **items** - Items to be displayed . * `string` : **iconClass** - If passed will override the default icon class applied to the anchor element (more icon); * * ### Outputs * `any` : **onOpen** - Event emitter for dropdown open ; * `any` : **onClose** - Event emitter for dropdown close ; * `DropdownElement` : **onItemSelect** - Triggered when the value change . * * ### Example * To use the component, assume this HTML Template as an example: * * ```HTML * * * ``` * */ export declare class MoreOptionsDropdown extends CoreComponent { private _elementRef; /** * Items to be displayed */ items: any[]; /** * The icon class to be set to the anchor element. */ iconClass: string; /** * Item template for re-projection. * @workaround * This shouldn't be needed; there's an issue about this in https:// github.com/angular/angular/issues/12930 */ _itemTemplate: ng.TemplateRef; open: ng.EventEmitter; close: ng.EventEmitter; /** * Event emitter for changes */ onItemSelect: ng.EventEmitter>; /** * @method constructor */ constructor(_elementRef: ng.ElementRef); } export declare class MoreOptionsDropdownModule { }