@sedeh/into-pipes
Version:
Have you ever wanted to transform data in different parts of your application into interactive objects without writing a single line of code?
29 lines (28 loc) • 996 B
TypeScript
import { EventEmitter } from '@angular/core';
import { PipeComponentInterface } from '../common/pipe.component.interface';
import * as i0 from "@angular/core";
export declare class LikeComponent implements PipeComponentInterface {
source: any;
id: string;
data: any;
name: string;
showCount: boolean;
thumbsup: boolean;
selected: boolean;
key: string;
thumbs: string;
disabled: boolean;
active: boolean;
validate: (item: any, newValue: any) => boolean;
onIntoComponentChange: EventEmitter<any>;
static settingsPatterns(): string[];
transform(source: any, data: any, args: any[]): void;
keyup(event: any): void;
private addItem;
private removeItem;
private getItem;
formatterSource(): any;
toggleCount(event: any): void;
static ɵfac: i0.ɵɵFactoryDeclaration<LikeComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<LikeComponent, "like-component", never, {}, {}, never, never, false, never>;
}