Ngx meta.ngxmetametadatamanager
Home > @davidlj95/ngx-meta > NgxMetaMetadataManager
NgxMetaMetadataManager class
Abstract class every metadata manager must implement.
Used as injection token to provide metadata managers the library will take into account.
Signature:
export declare abstract class NgxMetaMetadataManager<Value = unknown>
Remarks
See also:
-
makeMetadataManagerProviderFromSetterFactory() for a helper to create a metadata manager
-
provideNgxMetaManager() for an experimental helper to create a metadata manager
Properties
Property | Modifiers | Type | Description |
---|---|---|---|
id |
|
string | Identifies the metadata manager. Used to avoid setting same metadata twice in case same two managers are injected by mistake. |
resolverOptions |
|
MetadataResolverOptions | Options to resolve metadata values for a metadata manager Used in NgxMetaMetadataManager.resolverOptions with type MetadataResolverOptions |
set |
|
MetadataSetter<Value> | A function that alters a page's metadata with the provided value. |