mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
chore: cleanup
This commit is contained in:
4
apps/ui/app/html-view/html-view-page.ts
Normal file
4
apps/ui/app/html-view/html-view-page.ts
Normal file
@@ -0,0 +1,4 @@
|
||||
export function pageLoaded(args) {
|
||||
var page = args.object;
|
||||
page.bindingContext = { html: 'one<br>two' };
|
||||
}
|
||||
3
apps/ui/app/html-view/html-view-page.xml
Normal file
3
apps/ui/app/html-view/html-view-page.xml
Normal file
@@ -0,0 +1,3 @@
|
||||
<Page loaded="pageLoaded">
|
||||
<HtmlView html="{{ html }}" />
|
||||
</Page>
|
||||
Reference in New Issue
Block a user