Skip to content

Interface: ImageAttributionNode

core.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:1042


imageUrl

imageUrl: string

The URL of the image to render.

Defined in

schema.ts:1044


type

type: Image

Identifies this as an image attribution node.

Defined in

schema.ts:1040