最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

javascript - Angular 1.5+ component optional one-way binding - Stack Overflow

programmeradmin1浏览0评论

Taken from the AngularJS 1 documentation:

You can also make the binding optional by adding ? : <? or <?attr.

How does the optional one differ from the non-optional one for the one-way binding?

I can seem to figure out the differences for the optional version of two-way (=) and delegate (&) bindings here on my fiddle: /, but not for the one-way one.

By the way, a very Merry Christmas!

发布评论

评论列表(0)

  1. 暂无评论