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)](./ngx-meta.ngxmetametaservice._constructor_.md) | Constructs a new instance of the `NgxMetaMetaService` class |
Methods
| Method | Modifiers | Description |
|---|---|---|
| [set(definition, content)](./ngx-meta.ngxmetametaservice.set.md) | Upserts a specific `` element, defined by a [NgxMetaMetaDefinition](./ngx-meta.ngxmetametadefinition.md) to the given content. If `content` is `null` or `undefined`, removes the `` element from the page. |