Skip to content

Ngx meta.globalmetadata

Home > @davidlj95/ngx-meta > GlobalMetadata

GlobalMetadata interface

Specifies metadata that will be used by more than one module

Signature:

export interface GlobalMetadata 

Properties

Property Modifiers Type Description
[applicationName?](./ngx-meta.globalmetadata.applicationname.md) `readonly` string \| null _(Optional)_ Sets application name for: - [Standard.applicationName](./ngx-meta.standard.applicationname.md) (needs standard module) - [OpenGraph.siteName](./ngx-meta.opengraph.sitename.md) (needs Open Graph module)
[canonicalUrl?](./ngx-meta.globalmetadata.canonicalurl.md) `readonly` URL \| string \| null _(Optional)_ Sets canonical URL for: - [Standard.canonicalUrl](./ngx-meta.standard.canonicalurl.md) (needs standard module) - [OpenGraph.url](./ngx-meta.opengraph.url.md) (needs Open Graph module)
[description?](./ngx-meta.globalmetadata.description.md) `readonly` string \| null _(Optional)_ Sets description for: - [Standard.description](./ngx-meta.standard.description.md) (needs standard module) - [OpenGraph.description](./ngx-meta.opengraph.description.md) (needs Open Graph module) - [TwitterCard.description](./ngx-meta.twittercard.description.md) (needs Twitter Cards module)
[image?](./ngx-meta.globalmetadata.image.md) `readonly` [GlobalMetadataImage](./ngx-meta.globalmetadataimage.md) \| null _(Optional)_ Specifies image metadata (will be used for link previews / social cards) to be used for more than one module. Like: - [OpenGraph.image](./ngx-meta.opengraph.image.md) (needs standard module) - [TwitterCard.image](./ngx-meta.twittercard.image.md) (needs Twitter Cards module) Open Graph allows for more attributes for the image. Specify [OpenGraph.image](./ngx-meta.opengraph.image.md) if you want to customize those too.
[locale?](./ngx-meta.globalmetadata.locale.md) `readonly` string \| null _(Optional)_ Sets localization of this page Value must be a valid language tag complying with BCP 47 For instance: "`es`" or "`es-ES`" For: - [Standard.locale](./ngx-meta.standard.locale.md) (needs standard module) - [OpenGraph.locale](./ngx-meta.opengraph.locale.md) (needs Open Graph module)
[title?](./ngx-meta.globalmetadata.title.md) `readonly` string _(Optional)_ Sets title for: - [Standard.title](./ngx-meta.standard.title.md) (needs standard module) - [OpenGraph.title](./ngx-meta.opengraph.title.md) (needs Open Graph module) - [TwitterCard.title](./ngx-meta.twittercard.title.md) (needs Twitter Cards module)