Link
An interface representing the Readium Link object. Extends the Nitro spec Link with an optional properties bag and supports hierarchical TOC via nested children.
Extends
Omit<SpecLink,"depth"|"hasChildren"|"parentHref"|"position">
Properties
type?
optional type?: string;
The linked resource's media type, when known; the web reader sets it.
properties?
optional properties?: any;
children?
optional children?: Link[];
href
href: string;
Inherited from
Omit.href
title?
optional title?: string;
Inherited from
Omit.title
rels?
optional rels?: string[];
Inherited from
Omit.rels
languages?
optional languages?: string[];
Inherited from
Omit.languages