mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
21 lines
411 B
Markdown
21 lines
411 B
Markdown
---
|
|
nav-title: "HtmlView How-To"
|
|
title: "How-To"
|
|
description: "Examples for using HtmlView"
|
|
---
|
|
# HtmlView
|
|
Using a HtmlView requires the html-view module.
|
|
<snippet id='htmlview-require'/>
|
|
|
|
### Declaring a HtmlView.
|
|
``` XML
|
|
<Page>
|
|
{%raw%}<HtmlView html="{{ htmlString }}" />{%endraw%}
|
|
</Page>
|
|
```
|
|
### Creating a HtmlView
|
|
<snippet id='htmlview-create'/>
|
|
|
|
### Using HtmlView
|
|
<snippet id='htmlview-using'/>
|