angular.js - 请问AngularJS popover 如何关闭非目标对象popover浮动层
阿神
阿神 2017-05-15 16:58:46
0
1
524


如图所示,怎么样关闭上次点击打开的popover浮动层

阿神
阿神

闭关修行中......

reply all (1)
过去多啦不再A梦

Suggestion:
Each prompt will generate a p container with class popover, so you only need to bind a click event on the body to destroy the p with class popover. It is worth noting that the bubbling of the click event of the target object must be cancelled.

Reference

    Latest Downloads
    More>
    Web Effects
    Website Source Code
    Website Materials
    Front End Template
    About us Disclaimer Sitemap
    php.cn:Public welfare online PHP training,Help PHP learners grow quickly!