Created
April 25, 2018 13:40
-
-
Save mlcollard/ede1b184d8117fbfc275e65819d9edef to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var template = """ | |
<document> | |
<loadingTemplate> | |
<activityIndicator><text>Hello World!</text></activityIndicator> | |
</loadingTemplate> | |
</document> | |
""" | |
var templateParser = new DOMParser(); | |
var parsedTemplate = templateParser.parseFromString(template, "application/xml"); | |
navigationDocument.pushDocument(parsedTemplate); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment