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) | Constructs a new instance of the NgxMetaService class |
Methods
Method | Modifiers | Description |
---|---|---|
clear() | Clears all managed metadata elements of the current page | |
set(values) | Sets the metadata values of the current page | |
setOne(globalOrJsonPath, value) | Sets a metadata value for the page You can specify which metadata elements will be changed by using the global or JSON Path that you would use if using NgxMetaService.set() API |