随笔分类 - angularjs
摘要:过滤器结构{{带过滤数据 | 过滤器名:参数1:参数2:参数3.....}} app.filter('过滤器名', function () { return function (待过滤数据, 参数....) { ...... return 已过滤数据; } 示例一:是否包含<!doctype htm
阅读全文
posted @ 2018-07-01 18:11
董永辉Bruno
摘要:ng-style 属性值必须是对象,表达式返回的也是对象。 ng-style属性值必须是对象,表达式返回的也是对象。 style使用内联样式的方法是在相关的标签中使用样式属性。样式属性可以包含任何 CSS 属性。 ng-attr-style支持!important属性。 style支持!important...
阅读全文
posted @ 2017-11-23 12:50
董永辉Bruno
摘要:It has benn three months to learn the front-end development from back-end. I have some experience to share. 1. Firstly, read the API. If you can't und
阅读全文
posted @ 2017-11-10 13:32
董永辉Bruno