7

角度ui-routerで分かっているように、htmlを親のhtmlにするにはui-viewを使用します。ionjのui-viewとion-nav-viewの違い

<!-- index.html --> 
<body> 
    <div ui-view="filters"></div> 
    <div ui-view="tabledata"></div> 
    <div ui-view="graph"></div> 
</body> 

jsファイル:thisによると

$stateProvider 
    .state('report', { 
    views: { 
    'filters': { ... templates and/or controllers ... }, 
    'tabledata': {}, 
    'graph': {}, 
    } 
}) 

またIonic枠組みの中で、私たちはこれを使用することができます:

<ion-nav-view name="filters"></ion-nav-view> 

diferenceは何?

答えて

7

これは、カスタムIonic frameworkディレクティブです。詳細な説明はion-nav-viewです。追跡履歴、遷移などのより高度な機能を備えています。 AngularUIルータを使用します。

関連する問題