阅读背景:

如何触发AngularJS中的resize事件?

来源:互联网 

I'm using Angular & Bootstrap, with the nav tab control to switch visibility of divs. In one div, I have a large img (CAD drawing of building). I also then overlay markers on the image. I want to scale the x/y position of the markers based on the image width & image naturalWidth. I'm using a resize directive to detect changes and update my scope. I'm using Angular & Bootstrap, with the nav tab




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: