Esri / Esri/cedar

Resize event should be default within Cedar

Open
#152 4 comments 0 reactions 1 assignee Claimed by @ajturner View on GitHub
0 - New High v0x
Dominant language
Handlebars
Stars
265
Forks
236
PR merge metrics
No merged PRs in 30d

Description

Cedar currently requires an external event handler to detect that it's parent element has changed.

`$(window).resize(function() { cedar.update(); });`

Example: http://jsfiddle.net/6GB66/276/

This shouldn't be necessary nor rely on jQuery. I'm curious about typical patterns that are pure JS within other libraries.

/cc @tomwayson @benheb

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.