ngx-serp-preview
Version:
SERP (Search Engine Result Page) Preview Component for Angular
28 lines (27 loc) • 1.05 kB
TypeScript
import { OnInit, OnDestroy, ChangeDetectorRef, OnChanges, SimpleChanges } from '@angular/core';
import * as i0 from "@angular/core";
export declare class NgxSerpGoogleComponent implements OnInit, OnChanges, OnDestroy {
private cdRef;
class: string;
siteName?: string;
title?: string;
description?: string;
url: string;
faviconUrl?: string;
formattedUrl: string;
formattedDescription: string;
formattedTitle: string;
siteIcon: string;
menuIcon: string;
constructor(cdRef: ChangeDetectorRef);
ngOnInit(): void;
ngOnChanges(changes: SimpleChanges): void;
ngOnDestroy(): void;
private formatUrl;
/**
* Truncate String
*/
private truncateString;
static ɵfac: i0.ɵɵFactoryDeclaration<NgxSerpGoogleComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<NgxSerpGoogleComponent, "ngx-serp-google", never, { "siteName": "siteName"; "title": "title"; "description": "description"; "url": "url"; "faviconUrl": "faviconUrl"; }, {}, never, never, true, never>;
}