Ngx meta.ngxmetametadefinition
Home > @davidlj95/ngx-meta > NgxMetaMetaDefinition
NgxMetaMetaDefinition interface
Warning: This API is now obsolete.
Use NgxMetaElementsService APIs instead. See migration guide for more info
Models a <meta> element which NgxMetaMetaService.set() can manage
To create one, you may also use one of these utility functions:
Signature:
export interface NgxMetaMetaDefinition
Remarks
Inspired by Angular MetaDefinition.
Properties
| Property | Modifiers | Type | Description |
|---|---|---|---|
| attrSelector | readonly |
string | Attribute selector to identify the <meta> element. In order to remove this specific <meta> element when needed. |
| withContent | readonly |
(content: string) => MetaDefinition | Creates an Angular MetaDefinition to create or update the element in the page. With the given content as value of the |