Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70612

Cross linking in app

$
0
0

@basti wrote:

I want to cross link some sites in my app for a wiki.

I show the wiki-text with [innerHtml] to easy include images dynamically at the right place. Now I want to add some cross links to other wiki-entries. Has anyone an idea how I can do this with the new navigation structure?

In ionic 1 I would have written the link directly in the wiki-text:
text: "Here is the <a href='...'>Link</a>";

But, if I understood it right, in ionic 2 I've to push to a new site via a function.
I tried
text: "Here is the <button (click)=link('id')>Link</button>";

Unfortunately the innerHtml seems to kill the button feature, because nothing happens when clicking the button.

Is there an opportunity to start the link-function from the <a href>-link? Or any other ideas how I can load the requested site?

Thank you!

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 70612

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>