Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
コンポーネントを動的にロードするために、このスレッドを使用しています。コンポーネントを切り替えながら、スライド/フェード アニメーションを追加しようとしています。新しいAngular2アニメーションでこれを達成する方法を知っている人はいますか?
(angular2/coreから)注入しようとしましたか?
constructor(private renderer: Renderer) { ... }
その後、コードで次を使用します。
this.renderer.animate(freshComponent.location, ..., ..., 0..1, 0..1, '');