mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-16 03:31:45 +08:00
23 lines
498 B
Markdown
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%}
|