Ngx meta.ngxmetametaservice
Home > @davidlj95/ngx-meta > NgxMetaMetaService
NgxMetaMetaService class
Warning: This API is now obsolete.
Use NgxMetaElementsService APIs instead. See migration guide for more info
Creates, updates or removes <meta>
elements.
Uses Angular Meta APIs 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) | Creates, updates or removes a specific The element is modeled using a NgxMetaMetaDefinition object. The element is created with the provided content. If no content is given, element is removed. |