Skip to content

Interface: ImageAttributionNode

Defined in: schema.ts:1791

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:1795

The URL to link to.


imageUrl

imageUrl: string

Defined in: schema.ts:1797

The URL of the image to render.


type

type: Image

Defined in: schema.ts:1793

Identifies this as an image attribution node.