Skip to content

Ngx meta.jsonldmetadata

Home > @davidlj95/ngx-meta > JsonLdMetadata

JsonLdMetadata interface

Utility type to provide specific JSON-LD module metadata

Signature:

export interface JsonLdMetadata 

Properties

Property Modifiers Type Description
jsonLd? readonly object | readonly object[] | null

(Optional) JSON-LD object (as a JSON object) to set in the page

An array of JSON-LD objects can be given too. They will all be added inside the same <script> element. As per Google's structured data general guidelines.