美文网首页
ng2-pageloading说明文档

ng2-pageloading说明文档

作者: geilishu | 来源:发表于2017-07-13 20:39 被阅读0次

ng2-pageloading

Pageloading effects for angular2, inspired by PageLoadingEffects and me-pageloading.
git location.

Install

npm install ng2-pageloading --save

Usage

  1. include <script src="http://cdn.staticfile.org/snap.svg/0.2.0/snap.svg-min.js"></script> in your html
  2. import PageLoadingModule.
  3. use component <page-loading></page-loading>.

API

  • PageLoadingService.show([effectName]), show animation, you can specify which animation to show. If not specify, ng2-pageLoading will use the effect value set to PageLoadingService. If no effectName is set to PageLoadingService, the value is random.
  • PageLoadingService.hide(), hide the current animation.

ThanksTo

PageLoadingEffects and me-pageloading

License

MIT

相关文章

  • ng2-pageloading说明文档

    ng2-pageloading Pageloading effects for angular2, inspire...

  • 文档说明

    一、产品经理撰写文档的主要工具 1、Microsoft Office 2、Visio 3、Axure 4、Bals...

  • 产品需求文档(PRD)写作方法(下)

    13.2常见PRD文档包含内容 文档说明 产品说明 全局功能需求说明 详细功能需求说明 13.3全局功能说明 全局...

  • 反推“滴答清单”App产品需求文档(PRD)

    一、文档概述 1.1 文档说明 1.2文档目录 一、文档概述 1.1文档说明 1.2文档目录 1.3产品简介 1....

  • 文档权限说明

    整理自鸟哥 我们可以使用 ls -al 查看当前目录下得文件及目录 更改权限 chgrp :改变档案所属群组 这个...

  • 编写文档说明

    一级标题 二级标题 三级标题 *斜体 ***粗体 ** 列表: 第一(注意空格) 第二 无序列表: x y 146...

  • API文档说明

    Host主机名 所有API均只给出Path Url部分,请自行在Url前面附加主机名。 如:Host:http:/...

  • UIView 的 layoutSubviews 方法

    官方文档说明 调用时机 重写场景 官方文档说明 Subclasses can override this meth...

  • Flutter 之 Future

    Future 源码说明 我们来看看Future的源码说明文档 我们重点看看then函数的文档说明: then注册在...

  • pydudio&wave

    wave库官方文档说明 pyaudio库说明文档 以下是一个录音的例子:

网友评论

      本文标题:ng2-pageloading说明文档

      本文链接:https://www.haomeiwen.com/subject/nmsghxtx.html