2016-04-28 4 views
1

を使用して開きます。外部リンクを開こうとしているcordovaアプリで、ng-bind-htmlを使用して、AngularJsが外部リンクをコードバスアプリ

  1. フィルタが実行されますと私は、次の https://gist.github.com/rewonc/e53ad3a9d6ca704d402e

  2. コードからInAppBrowserプラグインをenter image description here

  3. そしてiが続いている正確な手順をインストールして、その中のリンクはそれを変更しますwindow.openコードへのhrefです。

しかし、リンクをクリックしても何も起こりません。

他にも何かがありますか?以下は

enter image description here

答えて

0

span要素は、イベントのどれもが発射されなかったので、そのlabel要素内にラップされた

<div class="card" ng-if="extendedDescription"> 
      <div class="item item-divider"> 
       Ext Description 
      </div> 
      <label class="item item-text-wrap"> 
       <span ng-bind-html="extendedDescription"> 
       </span> 
      </label> 
     </div> 

NG-バインドHTMLを使用するHTMLは

を変更しています

the <label to only contain <span

関連する問題