【发布时间】:2017-08-26 11:00:51
【问题描述】:
我正在使用以下 ionic 示例在 ionic 中创建模态:http://ionicframework.com/docs/components/#modals
我正在使用以下代码为每个模式输出我的内容:https://github.com/ionic-team/ionic-preview-app/blob/master/src/pages/modals/basic/pages.ts
如果不将 HTML 输出为纯文本,我将如何在以下代码中为我的一个项目输出 HTML?
name: 'Gollum',
quote: 'Sneaky little hobbitses!',
image: 'assets/img/avatar-gollum.jpg',
items: [
{ title: 'Race', note: 'Hobbit' },
{ title: 'Culture', note: 'River Folk' },
{ title: 'Alter Ego', note: 'Smeagol' }
]
【问题讨论】:
标签: ionic-framework