Skip to content

Interface: LinkAttributionNode

core.LinkAttributionNode

An attribution node that renders a hyperlink.

This might be used to attribute the data source and link back to the home page of the data source or directly to the source data.

Example

coda.makeAttributionNode({
  type: coda.AttributionNodeType.Link,
  anchorUrl: "https://example.com",
  anchorText: "Data provided by ExampleCorp.",
});

Properties

anchorText

anchorText: string

The text of the hyperlink.

Defined in

schema.ts:1594


anchorUrl

anchorUrl: string

The URL to link to.

Defined in

schema.ts:1592


type

type: Link

Identifies this as a link attribution node.

Defined in

schema.ts:1590