Skip to content

Ngx meta.twittercardimage

Home > @davidlj95/ngx-meta > TwitterCardImage

TwitterCardImage interface

See TwitterCard.image

Signature:

export interface TwitterCardImage 

Properties

Property Modifiers Type Description
alt readonly string

A text description of the image conveying the essential nature of an image to users who are visually impaired. Maximum 420 characters.

Used with summary, summary_large_image, player cards

- Property specs

url readonly string | URL

URL of image to use in the card. Images must be less than 5MB in size. JPG, PNG, WEBP and GIF formats are supported. Only the first frame of an animated GIF will be used. SVG is not supported.

Used with summary, summary_large_image, player cards

- Property specs