Skip to content

ProxiBlue/HyvaGlobalLoading

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ProxiBlue_HyvaGlobalLoading module

Ads a global loading indicator.

  • activates on any form submit to indicate action
  • can be activated, de-activated by setting a global variable window.isLoading = true|false
  • listens to any ajax fail/complete events to hide (prevents hung site with loader never going away)
  • Throws an event that you can listen to if global variable changes so you can do things when loader shows/hides

Uses Hyva default ui/loader.phtml Hyva_Theme::ui/loading.phtml

Customise by placing in your theme app/design/frontend/{THEME}/{NAME}/Hyva_Theme/templates/ui/loading.phtml

Installation

  • add composer repo: composer config repositories.github.repo.repman.io composer https://github.repo.repman.io
  • install package using composer composer require proxi-blue/module-hyva-global-loading
  • enable module ./bin/magento module:enable ProxiBlue_HyvaGlobalLoading
  • ./bin/magento setup:upgrade
  • ./bin/magento setup:di:compile

Note on liability

Not yet used in a production environment, so you use this at your own risk

Example

without module (base hyva)

global_loader_without-.2.mp4

with module

global_loader_with.mp4

About

Ads a global loading indicator that activates on any form submit to indicate action

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors