我正在使用Bootstrap4popovers (https://getbootstrap.com/docs/4.0/components/popovers/)来显示通知,但由于通知按钮位于屏幕的边缘,一旦加载了内容,弹出按钮就会越过边缘。我认为它可以通过在内容加载后调用PopperJs functio scheduleUpdate (https://popper.js.org/popper-documentation.html#Popper.scheduleUpdate)来修复。但是,我不知道如何访问popper数据对象。
如何访问Popper数据实例?
https://stackoverflow.com/questions/47508512
复制相似问题