Ngx meta.twittercardcreator
Home > @davidlj95/ngx-meta > TwitterCardCreator
TwitterCardCreator type
@username
or Twitter ID of the content creator.
Used in TwitterCard.creator with type TwitterCardCreator
Signature:
export type TwitterCardCreator = TwitterCardCreatorUsername | TwitterCardCreatorId | (TwitterCardCreatorUsername & TwitterCardCreatorId);
Remarks
Provider:
See also:
Example
Providing both the @username
and id. Just one of them is enough though.
const twitterCardCreator: TwitterCardCreator = {
username: '@example',
id: 16542877,
}