Skip to content

Ngx meta.ngxmetametaservice

Home > @davidlj95/ngx-meta > NgxMetaMetaService

NgxMetaMetaService class

Upserts (or removes) <meta> elements in the current page using Angular's Meta under the hood.

Signature:

export declare class NgxMetaMetaService 

Constructors

Constructor Modifiers Description
(constructor)(meta) Constructs a new instance of the NgxMetaMetaService class

Methods

Method Modifiers Description
set(definition, content) Upserts a specific <meta> element, defined by a NgxMetaMetaDefinition to the given content. If content is null or undefined, removes the <meta> element from the page.