Skip to content

Ngx meta.ngxmetaservice

Home > @davidlj95/ngx-meta > NgxMetaService

NgxMetaService class

Manages the metadata values of the current page

Signature:

export declare class NgxMetaService 

Constructors

Constructor Modifiers Description
[(constructor)(registry, resolver)](./ngx-meta.ngxmetaservice._constructor_.md) Constructs a new instance of the `NgxMetaService` class

Methods

Method Modifiers Description
[clear()](./ngx-meta.ngxmetaservice.clear.md) Clears all managed metadata elements of the current page
[set(values)](./ngx-meta.ngxmetaservice.set.md) Sets the metadata values of the current page
[setOne(globalOrJsonPath, value)](./ngx-meta.ngxmetaservice.setone.md) Sets a metadata value for the page You can specify which metadata elements will be changed by using the JSON Path that you would use if using [NgxMetaService.set()](./ngx-meta.ngxmetaservice.set.md) API