EpubLinkKind

What a link is for, read from the link's own markup: its epub:type from the EPUB 3 Structural Semantics Vocabulary, its DPUB-ARIA role, or the rel that EPUB 2 converters write. A reader can open a note in place instead of turning the page. EpubLink.kind carries it.

Entries

Link copied to clipboard

An ordinary link, or one whose markup says nothing more.

Link copied to clipboard

A note reference: epub:type="noteref", role="doc-noteref", or rel="footnote".

Link copied to clipboard

A glossary reference: epub:type="glossref" or role="doc-glossref".

Link copied to clipboard

A bibliography reference: epub:type="biblioref" or role="doc-biblioref".

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
expect val name: String
Link copied to clipboard
expect val ordinal: Int

Functions

Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.