0
我用下面的例子離子的離子產生情態動詞:http://ionicframework.com/docs/components/#modals在離子添加HTML情態動詞
我用下面的代碼輸出我的每一個模態內容: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' }
]
真棒!完美的作品!非常感謝! – Breon
大@Breon,你想我的答案,謝謝。 –