摘要: The component we test against: import {Component, OnInit} from '@angular/core'; import {Course} from "../model/course"; import {Observable} from "rxjs 阅读全文
posted @ 2020-02-25 19:55 Zhentiw 阅读(350) 评论(0) 推荐(0)
摘要: What makes objects different is that we can create more of them. Every time we use the {} object literal, we create a brand new object value: let shre 阅读全文
posted @ 2020-02-25 18:46 Zhentiw 阅读(103) 评论(0) 推荐(0)
摘要: When you give an element an id attr, it will automaticlly create a object with the same name of id: <form id="theform" action="/" method="post"> <labe 阅读全文
posted @ 2020-02-25 02:22 Zhentiw 阅读(147) 评论(0) 推荐(0)