使用离子框架

时间:2015-08-22 14:27:03

标签: meteor ionic-framework

我正在使用meteor ionic package来构建应用程序。这是我的模板代码。

<template name="offerDetails">
    {{#contentFor "headerButtonLeft"}}
        {{>ionNavBackButton path="home"}}
    {{/contentFor}}

    {{#ionView}}
            {{#ionContent}}
              //SOME OTHER HTMLS CODES

            {{/ionContent}}
    {{/ionView}}
    {{#if isNext}}
        {{#ionFooterBar class="bar-blurred next"}}
            <div class="pull-right">
                Ok, Next
                <i class="icon ion-chevron-right"></i>
            </div>
        {{/ionFooterBar}}
    {{/if}}
</template>

如何在后退按钮中的标题中触发模板事件。我知道它不属于模板。但什么是最好的解决方案

0 个答案:

没有答案