fromTemplate
Input Lynx template binary content and return the parsed TemplateBundle object.
Syntax
Android
Parameters
template: Template binary content.
Return
- The
TemplateBundleobject.
Note
- When the input
templateisnull, this method returnsnulldirectly. - When the input
templateis not a correctLynxtemplate data, an invalidTemplateBundleis returned.
iOS
Parameters
tem: Template binary content.
Return
- The
TemplateBundleobject.
Note
- When the input
temis not a correctLynxtemplate data, or isnil, an invalidTemplateBundleis returned
Harmony
Parameters
template: Template binary content.
Return
- TemplateBundle in promise.
Compatibility
LCD tables only load in the browser