Is it possible to use ExtJS components in AngularJS?

前端 未结 4 1395
醉话见心
醉话见心 2021-02-12 21:19

I\'m really enjoying learning to use AngularJS. Now I\'m looking for components I can use with it. I\'ve been looking at Angular-UI components but I\'d like to know if it\'s p

4条回答
  •  被撕碎了的回忆
    2021-02-12 22:17

    In our AngularJS app at work, we have integrated a 3rd party ExtJS app with it, not for its UI components though. We open certain popups of that app based on user input and when the user commits data in the popup, we respond to ExtJs events to refresh our app. AngularJS is flexible enough to integrate with any other Javascript code/libraries as long as the library has public events to respond to. I would recommend going through the Directive and scope documentation on how to effectively create directives and respond to scope events.

    Personally I do not feel ExtJS and AngularJS would be needed together, unless you are forced to use it like me. There is http://angular-ui.github.io/ that brings in a lot to the table. Again any given JQuery plugin can be integrated using directives, filters etc in AngularJS. So you may want to investigate into that before trying to bother with ExtJS.

提交回复
热议问题