Skip to content

Interface: LinkAttributionNode

Defined in: schema.ts:1767

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

Defined in: schema.ts:1773

The text of the hyperlink.


anchorUrl

anchorUrl: string

Defined in: schema.ts:1771

The URL to link to.


type

type: Link

Defined in: schema.ts:1769

Identifies this as a link attribution node.