search

Home  >  Q&A  >  body text

angular.js - Can all loading effects in the website be extracted and done?

The front end uses Angularjs. There are many operations that need to display Loading animations, including global and specific Loading. For example, after a button is clicked, the icon of the button changes to Loading. For example, when uploading an avatar, deleting Operations, etc.

I want to know the loading of these specific details, how can I extract them? Make it universal and can be coupled with Angular.

Please give me guidance!

曾经蜡笔没有小新曾经蜡笔没有小新2775 days ago642

reply all(1)I'll reply

  • 阿神

    阿神2017-05-15 16:51:27

    File it as a directive

    reply
    0
  • Cancelreply