Supported is the anchor (
<a>) HTML tag.
After you set the HTML elements as shown in this article, you need to process them as described in Processing HTML Helpers Elements.
To make a file specified through the
<a> tag work offline, you need to modify its tag like this:
- Rename the
data-href, leaving the original link address unchanged
- Add the
<a data-href="http://example.com/myfile.doc" data-offline />
data-offlineattribute can also be set explicitly to true or false. For example:
data-offline="true". The empty string, as well as any other string that differs from "false", are evaluated as true.
All attribute names can be configured while initializing the SDK. For more information see Configuring HTML Attributes.