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.
AngularJs アプリでルーティングするときに、アニメーション gif を含む読み込み画面を作成したいと考えています。
これに対して一般的なものを作ることは可能ですか?
間違いなくあります。
$ルート
$route サービスから利用できるイベントをチェックしてください。
$routeChangeStart、$routeChangeSuccess、および $routeChangeError が最も役立ちます。$rootScope でこれらを簡単にリッスンし、ローディング アニメーションなどを表示するために必要なロジックを実装できます。