Skip to content

Ngx meta.standard

Home > @davidlj95/ngx-meta > Standard

Standard interface

Standard module metadata values that can be set.

Signature:

export interface Standard 

Properties

Property Modifiers Type Description
applicationName? readonly GlobalMetadata['applicationName']

(Optional) Sets the <meta name='application-name'> HTML element.

Can be set with GlobalMetadata.applicationName.

author? readonly string | null (Optional) Sets the <meta name='author'> HTML element.
canonicalUrl? readonly GlobalMetadata['canonicalUrl']

(Optional) Sets the <link rel='canonical'> HTML element.

Can be set with GlobalMetadata.canonicalUrl.

If URL resolution feature is enabled and a relative URL is provided, an absolute one will be used as value after resolving it.

description? readonly GlobalMetadata['description']

(Optional) Sets the <meta name='description'> HTML element.

Can be set with GlobalMetadata.description.

generator? readonly true | null

(Optional) Sets the <meta name='generator'> HTML tag.

Includes the Angular version used to generate the page.

keywords? readonly ReadonlyArray<string> | null (Optional) Sets the <meta name='keywords'> HTML element.
locale? readonly GlobalMetadata['locale']

(Optional) Sets the lang attribute to the <html> element.

Can be set with GlobalMetadata.locale.

Value must be a valid language tag complying with BCP 47 For instance: "es" or "es-ES".

themeColor? readonly StandardThemeColorMetadata | null (Optional) Sets one or more <meta name='theme-color'> HTML elements.
title? readonly GlobalMetadata['title']

(Optional) Sets the <title> HTML element.

Can be set with GlobalMetadata.title.