EpubLinkTarget

The element an internal link points at, read from the book's markup without laying its chapter out. EpubDocument.linkTarget builds it.

Properties

Link copied to clipboard

Where the target sits. It stays valid when the book reflows; resolve it with EpubDocument.locate.

Link copied to clipboard

The link as the page gives it: zipPath#fragment.

Link copied to clipboard

What the target is.

Link copied to clipboard

The target's text: one line per block, spaces collapsed, ruby readings and back links left out. For a glossary term, the definitions follow the term.

Link copied to clipboard
val type: String?

The epub:type or role value that kind was read from, as written. Null when the markup names none.