primeng
Version:
PrimeNG is an open source UI library for Angular featuring a rich set of 80+ components, a theme designer, various theme alternatives such as Material, Bootstrap, Tailwind, premium templates and professional support. In addition, it integrates with PrimeB
39 lines (36 loc) • 1.31 kB
TypeScript
import * as i0 from '@angular/core';
import { ElementRef, Renderer2 } from '@angular/core';
/**
* Bind directive provides dynamic attribute, property, and event listener binding functionality.
* @group Components
*/
declare class Bind {
private el;
private renderer;
/**
* Dynamic attributes, properties, and event listeners to be applied to the host element.
* @group Props
*/
pBind: i0.InputSignal<{
[key: string]: any;
} | undefined>;
private _attrs;
private attrs;
styles: i0.Signal<any>;
classes: i0.Signal<string | undefined>;
private listeners;
constructor(el: ElementRef, renderer: Renderer2);
ngOnDestroy(): void;
setAttrs(attrs: {
[key: string]: any;
} | undefined): void;
private clearListeners;
static ɵfac: i0.ɵɵFactoryDeclaration<Bind, never>;
static ɵdir: i0.ɵɵDirectiveDeclaration<Bind, "[pBind]", never, { "pBind": { "alias": "pBind"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
}
declare class BindModule {
static ɵfac: i0.ɵɵFactoryDeclaration<BindModule, never>;
static ɵmod: i0.ɵɵNgModuleDeclaration<BindModule, never, [typeof Bind], [typeof Bind]>;
static ɵinj: i0.ɵɵInjectorDeclaration<BindModule>;
}
export { Bind, BindModule };