Skip to content

Interface: ImageAttributionNode

Defined in: schema.ts:1838

An attribution node that renders as a hyperlinked image.

This is often the logo of the data source along with a link back to the home page of the data source or directly to the source data.

Example

coda.makeAttributionNode({
  type: coda.AttributionNodeType.Image,
  anchorUrl: "https://example.com",
  imageUrl: "https://example.com/assets/logo.png",
});

Properties

anchorUrl

anchorUrl: string

Defined in: schema.ts:1842

The URL to link to.


imageUrl

imageUrl: string

Defined in: schema.ts:1844

The URL of the image to render.


type

type: Image

Defined in: schema.ts:1840

Identifies this as an image attribution node.