相关疑难解决方法(0)

角度2一次装订

在角度1中,我们可以用这种方式进行一次绑定:{{ ::myFunction() }}.

在角度2中,这是投掷:

EXCEPTION: Template parse errors:
Parser Error: Unexpected token : at column 2 in [{{ ::consent(false, undefined, box) }}] in CookieConsent@5:29 ("ull-right" href="" (click)="consent(true, $event, box)">De acuerdo</a>
        <span class="hidden">[ERROR ->]{{ ::consent(false, undefined, box) }}</span>
Run Code Online (Sandbox Code Playgroud)

我们如何在angular2中进行一次绑定?

javascript angular2-template angular

36
推荐指数
3
解决办法
3万
查看次数

标签 统计

angular ×1

angular2-template ×1

javascript ×1