xui
Version:
xUI Components for Angular
33 lines (32 loc) • 1.73 kB
TypeScript
import { ElementRef, OnInit, TemplateRef, ViewContainerRef } from '@angular/core';
import { Portal } from '@angular/cdk/portal';
import { PanelBarAccessor, PanelBarItem } from './panelbar.types';
import { BooleanInput } from '@angular/cdk/coercion';
import * as i0 from "@angular/core";
export declare class PanelBarItemComponent implements OnInit {
private panelBar;
private viewContainerRef;
private parentItem;
static ngAcceptInputType_expanded: BooleanInput;
contentPortal?: Portal<unknown>;
titlePortal?: Portal<unknown>;
contentDirective?: TemplateRef<unknown>;
titleDirective?: TemplateRef<unknown>;
title: string;
content: any;
icon?: string;
iconClass?: string;
expanded: boolean;
_children?: PanelBarItem[];
contentTemplate: TemplateRef<unknown>;
titleTemplate: TemplateRef<unknown>;
contentRef: ElementRef;
get offset(): number;
get paddingLeft(): number;
get hasContent(): any;
constructor(panelBar: PanelBarAccessor, viewContainerRef: ViewContainerRef, parentItem: PanelBarItemComponent);
ngOnInit(): void;
clickItem(): void;
static ɵfac: i0.ɵɵFactoryDeclaration<PanelBarItemComponent, [null, null, { optional: true; skipSelf: true; }]>;
static ɵcmp: i0.ɵɵComponentDeclaration<PanelBarItemComponent, "xui-panelbar-item", never, { "title": { "alias": "title"; "required": false; }; "content": { "alias": "content"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "iconClass": { "alias": "iconClass"; "required": false; }; "expanded": { "alias": "expanded"; "required": false; }; "_children": { "alias": "_children"; "required": false; }; }, {}, never, ["xui-panelbar-item"], false, never>;
}