admin管理员组文章数量:1419191
I've been writing the back-end of a web-application using angularJS. The application should allow a user to contact another user via a pop-up chat box (the type in gmail/fbook). I've been trying to skip using jquery and write this ponent in angularJS using angular-bootstrap modals, but the user also needs to be able to navigate around the page while the chatbox is open.
I know StackOverflow prefers more direct answerable questions but I haven't found much around the web about writing this in angularJS and I was wondering whether anyone knew how to write a pop-up chatbox using angularJS, HTML, and CSS.
I've been writing the back-end of a web-application using angularJS. The application should allow a user to contact another user via a pop-up chat box (the type in gmail/fbook). I've been trying to skip using jquery and write this ponent in angularJS using angular-bootstrap modals, but the user also needs to be able to navigate around the page while the chatbox is open.
I know StackOverflow prefers more direct answerable questions but I haven't found much around the web about writing this in angularJS and I was wondering whether anyone knew how to write a pop-up chatbox using angularJS, HTML, and CSS.
Share Improve this question edited Jun 27, 2014 at 20:58 Dirk asked Jun 27, 2014 at 18:49 DirkDirk 6081 gold badge5 silver badges18 bronze badges1 Answer
Reset to default 5This is one of the AngularJS's weaknesses. There are different ways of doing it but nothing that is the "standard" way. You have to basically code it from scratch.
People have implemented different approaches. Here are a few
http://ngmodules/modules/ngDialog
http://fundoo-solutions.github.io/angularjs-modal-service/
http://weblogs.asp/dwahlin/building-an-angularjs-modal-service
For my own projects I ended up doing something myself. If none of these do the trick, then you might have to as well.
本文标签: javascriptAngularJS popup chatboxStack Overflow
版权声明:本文标题:javascript - AngularJS pop-up chatbox - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1745304980a2652589.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论