Skip to content

Interface: ImageAttributionNode

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

The URL to link to.

Defined in

schema.ts:793


imageUrl

imageUrl: string

The URL of the image to render.

Defined in

schema.ts:795


type

type: Image

Identifies this as an image attribution node.

Defined in

schema.ts:791