Branch: refs/heads/unstable
Home: https://github.com/cytoscape/cytoscape.js
Commit: 711d9670ab12efabd4ff1fd842f3b9ef4e3c6320
https://github.com/cytoscape/cytoscape.js/commit/711d9670ab12efabd4ff1fd842f3b9ef4e3c6320
Author: Max Franz <[email protected]>
Date: 2019-07-30 (Tue, 30 Jul 2019)
Changed paths:
M src/extensions/renderer/base/index.js
M src/extensions/renderer/base/load-listeners.js
Log Message:
-----------
Add `ResizeObserver` support
- The `ResizeObserver` is used on top of existing methods. If your browser
supports it, you get better coverage for more automatic resizes. If not, you
get the existing methods -- which work for common cases. If you only support
evergreen browsers, then you probably will never have to call `cy.resize()` in
a typical app.
- This may help in cases where a programmer puts a graph within an in-page tab
interface or within a resizable panel. The viewport should update
automatically, so long as the component is compatible with `ResizeObserver`.
- Browser support: Edge 76+, Firefox 69+, Chrome 64+, Safari 13+
Ref : `ResizeObserver` for more automatic `cy.resize()`s #1652
--
You received this message because you are subscribed to the Google Groups
"cytoscape-cvs" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/cytoscape-cvs/cytoscape/cytoscape.js/push/refs/heads/unstable/c87396-711d96%40github.com.