ik0r/me-pageloading
Tentang
svg based pageloading for angular
Pengembangan web dan aplikasiPertumbuhan bintang terukur
- dalam 24 jam
- 0
- dalam 7 hari
- 0
- dalam 15 hari
- 0
- dalam 1 bulan
- Mengumpulkan riwayat
Perubahan bersih pada periode yang tumpang tindih, bukan total harian. Pengukuran yang belum tersedia dibiarkan kosong. Bintang menunjukkan perhatian, bukan kualitas.
README.md
Aslime-pageloading
Pageloading effects for angular, inspired by PageLoadingEffects.
Compatible with angular-route and angular-ui-router.
Install
bower install me-pageloading
Usage
- include css and js files in your html
- include
me-pageloadingas a angular dependence. - configure
mePageLoadingProvider, this step is optional.
mePageLoadingProvider has two options.
mePageLoadingProvider.container, default todocument.bodymePageLoadingProvider.timeOut, default to500msmePageLoadingProvider.effect, default torandom, all available effect names are listed below- Lazy Stretch
- Circle
- Spill
- Frame it
- Tunnel vision
- Windscreen wiper
- Jammed blind
- Parallelogram
- Tilted
- Lateral Swipe
- Wave
- Origami
- Curtain
mePageLoadingProvider.autoPageLoading, whether the pageloading automatically show when$stateChange*or$routeChange*event trigger. Default totrue. If you set tofalse, you should callmePageLoading#showormePageLoading#hideto show or hide the animation.
API
mePageLoading.show([effectName]), show animation, you can specify which animation to show. If not specify, mePageLoading will use theeffectvalue set tomePageLoadingProvider. If no effectName is set tomePageLoadingProvider, the value israndom.mePageLoading.hide(), hide the current animation.
Demos
ThanksTo
License
MIT
Jelajahi proyek terkait
Memuat…