Skip to content

Ngx meta.withnameattribute

Home > @davidlj95/ngx-meta > withNameAttribute

withNameAttribute() function

Creates an attribute name/value identifying a <meta name="{value}"> element kind.

See NgxMetaElementsService.set().

Signature:

withNameAttribute: (value: string) => readonly ["name", string]

Parameters

Parameter Type Description
value string Value for the name attribute of the <meta> element

Returns:

readonly ["name", string]