Structures
The following structures are available globally.
-
MediaType is used to tell the type of content a resource is.
Examples of mediatypes are image/gif, text/css and application/xhtml+xml
See moreDeclaration
Swift
public struct MediaType : Equatable
-
A
ClassBasedOnClickListener
takes a closure which is performed if a given htmlclass
is clicked. The closure will reveice the content of the specified parameter.Eg. A ClassBasedOnClickListener with the className
See morequote
and parameterNameid
with the given epub html content<section class="quote" id="12345">
would call the given closure on a click on this section with the String12345
as parameter.Declaration
Swift
public struct ClassBasedOnClickListener
-
Defines a custom Quote image, can be a square
See moreUIImage
, solidUIColor
orCAGradientLayer
.Declaration
Swift
public struct QuoteImage