UNPKG

ngx-seo

Version:

This library was generated with [Nx](https://nx.dev).

37 lines (36 loc) 1.42 kB
import { SeoSocialShareData, ImageAuxData } from './interfaces/seo-social-share-data'; import * as i0 from "@angular/core"; export declare enum NgxSeoMetaTagAttr { name = "name", property = "property" } export interface NgxSeoMetaTag { attr: NgxSeoMetaTagAttr; attrValue: string; value?: string; } export declare class SeoSocialShareService { private readonly metaService; private readonly titleService; private readonly document; setData(data: SeoSocialShareData): void; setKeywords(keywords?: string): void; setSection(section?: string): void; setTitle(title?: string): void; setType(type?: string): void; setDescription(description?: string): void; setImage(image?: string, auxData?: ImageAuxData): void; setUrl(url?: string): void; setPublished(publishedDateString?: string): void; setModified(modifiedDateString?: string): void; setAuthor(author?: string): void; setTwitterSiteCreator(site?: string): void; setTwitterCard(card?: string): void; setFbAppId(appId?: string): void; setMetaTag(metaTag: NgxSeoMetaTag): void; setMetaTags(metaTags: NgxSeoMetaTag[]): void; setLanguageAlternativeUrl(lang: string, url?: string): void; setCanonicalUrl(url?: string): void; static ɵfac: i0.ɵɵFactoryDeclaration<SeoSocialShareService, never>; static ɵprov: i0.ɵɵInjectableDeclaration<SeoSocialShareService>; }