PROTOCOL

LinkItemModel

public protocol LinkItemModel: CustomDebugStringConvertible, CustomStringConvertible

A model that contains information to represent link item.

Properties

text

var text: String?

The text for the link.

href

var href: String

A hypertext reference.

type

var type: String?

The type of the link item

link

var link: Link

A link to be followed when the item is selected.

rel

var rel: String

The relation of the link, which provides additional information about the link's purpose.