![](https://img-blog.csdnimg.cn/20201014180756724.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
前端
田野爱上狗
这个作者很懒,什么都没留下…
展开
-
Angular
[] 属性绑定 {{}} 取值 () 事件绑定 | 管道 [(ngModel)] 双向绑定 @Injectable 服务 @Component 组件原创 2019-08-08 13:17:19 · 78 阅读 · 0 评论 -
Cookies
Cookies通过HTTP响应头发送给客户端(Set-Cookie字段设置)。 浏览器每次发出请求头(Cookies字段设置)时都会将当前匹配的Cookies发送给服务器(直到Cookies过期) 属性值的等号两边,不能有空格。 Cookies不提供删除和修改的方式,需要使用其他方式间接实现。 一个响应头可以设置多个Set-Cookie。 eg:Set-Cookie: key=valu...原创 2019-08-15 16:29:52 · 324 阅读 · 0 评论 -
简单记录
分清楚DOM的property和HTML的attribute 在 Angular 的世界中,attribute 唯一的作用是用来初始化元素和指令的状态。 当进行数据绑定时,只是在与元素和指令的 property 和事件打交道,而 attribute 就完全靠边站了。(来自https://angular.cn/guide/template-syntax#html-attribute-vs-dom-...原创 2019-08-12 11:18:00 · 146 阅读 · 0 评论