Interface: 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¶
sdk.makeAttributionNode({
type: sdk.AttributionNodeType.Link,
anchorUrl: "https://example.com",
anchorText: "Data provided by ExampleCorp.",
});
Properties¶
anchorText¶
anchorText:
string
The text of the hyperlink.
anchorUrl¶
anchorUrl:
string
The URL to link to.
type¶
type:
Link
Identifies this as a link attribution node.