Bitwise operation inside angular ng-if

余生长醉 提交于 2019-12-05 12:54:56

I had the same problem, but I just used +

With flag enums addition ends up being the same as bitwise or.

"|" is used for filters , so I guess not, just write a function.and Angular expression language is not javascript.There are a lot of differences.

http://docs.angularjs.org/guide/expression

You'll have to write a filter or a function like "bitwise-or"

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!