UNPKG

primeng

Version:

[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT) [![npm version](https://badge.fury.io/js/primeng.svg)](https://badge.fury.io/js/primeng) [![Discord](https://img.shields.io/discord/557940238991753

42 lines (41 loc) 1.2 kB
import { ElementRef, EventEmitter, AfterViewInit, OnDestroy, AfterContentInit, TemplateRef, QueryList } from '@angular/core'; export declare class ButtonDirective implements AfterViewInit, OnDestroy { el: ElementRef; iconPos: 'left' | 'right' | 'top' | 'bottom'; _label: string; _icon: string; initialized: boolean; _initialStyleClass: string; constructor(el: ElementRef); ngAfterViewInit(): void; getStyleClass(): string; setStyleClass(): void; get label(): string; set label(val: string); get icon(): string; set icon(val: string); ngOnDestroy(): void; } export declare class Button implements AfterContentInit { type: string; iconPos: string; icon: string; badge: string; label: string; disabled: boolean; style: any; styleClass: string; badgeClass: string; contentTemplate: TemplateRef<any>; templates: QueryList<any>; onClick: EventEmitter<any>; onFocus: EventEmitter<any>; onBlur: EventEmitter<any>; ngAfterContentInit(): void; badgeStyleClass(): { 'p-badge p-component': boolean; 'p-badge-no-gutter': boolean; }; } export declare class ButtonModule { }