基于 AngularJS2+ 的动画插件 NgxAni
- 授权协议: BSD
- 开发语言: TypeScript
- 操作系统: 跨平台
- 软件首页: https://a-jie.github.io/NgxAni/
- 软件文档: https://a-jie.github.io/NgxAni/
软件介绍
NgxAni 是一个基于 AngularJS2+ 的动画插件。
它非常简单和易于使用. 同时又具有很好的兼容性。
NgxAni 是一个 service class, 不依赖于任何类库. 你可以使用到任何的 Component 和 Directive 中.
安装和使用
快速入门使用 npm 安装和管理 NgxAni。
$ npm install ngxani --save
导入和使用 NgxAni 库。
//1. import module
import { NgxAniModule } from 'ngxani';
//2. set ngModule
@NgModule({
imports: [BrowserModule, NgxAniModule]
... ...
//3. import service
import { NgxAni } from 'ngxani';
//4. constructor
constructor(private ngxAni: NgxAni) { }
//5. use
//click animate
//
private animation(dom: ElementRef) { this.ngxAni.to(dom, 1, { width: "200px", height: "100px" }); }
Web Design in a Nutshell
Jennifer Niederst / O'Reilly Media, Inc. / 2006-02-21 / USD 34.99
Are you still designing web sites like it's 1999? If so, you're in for a surprise. Since the last edition of this book appeared five years ago, there has been a major climate change with regard to web......一起来看看 《Web Design in a Nutshell》 这本书的介绍吧!
