ResourceLinkData

public class ResourceLinkData : Codable

The data describing the linked entry or asset for an EmbeddedResouceNode

  • The raw link object which describes the target entry or asset.

    If the linked content is .unresolved, but available via the LinkResolver, it is replaced by LinkResolver with the resolved value after init(from:), but within the same runloop.

    Declaration

    Swift

    public var target: Link
  • The optional title for the linked resource, to be displayed if desired.

    Declaration

    Swift

    public let title: String?
  • Declaration

    Swift

    public required init(from decoder: Decoder) throws
  • Declaration

    Swift

    public func encode(to encoder: Encoder) throws
  • Undocumented

    Declaration

    Swift

    public init(resolvedTarget: Link, title: String? = nil)