Files

23 lines
498 B
Markdown

---
nav-title: "HtmlView How-To"
title: "html-view"
environment: nativescript
description: "Examples for using HtmlView"
previous_url: /ApiReference/ui/html-view/HOW-TO,/cookbook/ui/htm-view
---
# HtmlView
Using a HtmlView requires the html-view module.
{%snippet htmlview-require%}
### Declaring a HtmlView.
``` XML
<Page>
{%raw%}<HtmlView html="{{ htmlString }}" />{%endraw%}
</Page>
```
### Creating a HtmlView
{%snippet htmlview-create%}
### Using HtmlView
{%snippet htmlview-using%}