书栈网 · BookStack 本次搜索耗时 0.011 秒,为您找到 79 个相关结果.
  • Angular 中的组件

    Angular2中的组件 Angular2中的组件 任何Angular 2应用程序的核心理念是组件。实际上,整个应用程序可以被建模为这些组件的树。 这是Angular 2团队定义组件的方式: 组件控制一个屏幕空间的补丁,我们可以调用视图,并为应用程序声明可重用的UI构建块。 基本上,组件是最终用户可见的任何东西,并且可以在应用程序中重...
  • TestBed配置(可选)

    TestBed 配置(可选) TestBed 配置(可选) 正如你将在测试组件中看到的,真实的组件测试通常依赖于Angular2测试实用程序TestBed ,它需要一些配置。 最重要的是,我们需要使用TestBed.initTestEnvironment 创建一个测试平台,然后才能使用TestBed进行单元测试。 在每次单元测试之前,必须根据需要创建...
  • TestBed Configuration (Optional)

    TestBed Configuration (Optional) TestBed Configuration (Optional) As you will see in Testing Components , real-world component testing often relies on the Angular2 testing util...
  • Using Angel with Angular

    464 2019-12-14 《Angel v2.x Document》
    https://dart.academy/using-angel-with-angular2/
  • 测试设置

    测试设置 测试设置 angular2-redux-starter 是一个基于webpack的Angular 2的应用程序(使用Redux),它具有上述相同的测试工具链。让我们来看看这个项目是如何设置的。
  • 菜谱 - infinte scroll

    无限滚动加载 (infinte scroll) 的好文章https://hackernoon.com/naive-infinite-scroll-in-reactive-programming-using-rxjs-observables-4a605d3146e8 (简体中文 ) 同一主题的另一篇好文章 http://blog.brecht.io/i...
  • Test Setup

    Test Setup Test Setup The repo angular2-redux-starter is a basic webpack-based Angular application (with Redux) with the same testing toolchain outlined above. Let's take a lo...
  • Recipes infinite scroll

    Great article on infinite scroll https://hackernoon.com/naive-infinite-scroll-in-reactive-programming-using-rxjs-observables-4a605d3146e8 Another great article on the same topi...
  • Karma配置

    Karma 配置 概述 框架 插件 files 预处理器 webpack coverageReporters 和 reporters 环境配置 完成配置 其他资源 Karma 配置 Karma是我们测试工作流程的基础。 它集合了我们的其他测试工具来定义我们想要使用的框架,测试环境,我们想要执行的具体操作等。为了做到这一点,Karm...
  • HTTP

    HTTP HTTP 为了从我们的Angular应用程序开始进行HTTP调用,我们需要从@angular /common/http 中导入 HTTP 模块。 import { HttpClientModule } from '@angular/common/http' ; @NgModule ({ declarati...