Skip to content

Commit 9aef2cd

Browse files
author
Shawn G
authored
Fixed some issues, improved performance and added real-time events.
Fixed issues: - marcj#81 - marcj#72 Performance: - Events are no longer added to each detector. Only one event is attached to listen to all sensors. - No longer using timeout functions. - Only one EventQueue is created to manage all ResizeSensors - Minor refactoring New Features: - ResizeSensor now listens to dynamically added elements. You can create an element in javascript - EventQueue accepts and passes arguments to the event listener. - ResizeSensor passes extra data that may be useful like the difference of the height and the width from the last resize event
1 parent 810339b commit 9aef2cd

File tree

1 file changed

+233
-147
lines changed

1 file changed

+233
-147
lines changed

0 commit comments

Comments
 (0)