Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

adds 3 new widget types: loading, layout and layer. #643

Merged
merged 2 commits into from
Dec 5, 2016

Conversation

tmcgee
Copy link
Member

@tmcgee tmcgee commented Dec 4, 2016

Also adds 3 new entry points within the Controller to manage when widgets can be created.
Also includes a change to uses the widget's key internally when no id is available. Some Esri widgets cannot have an id passed in the config.

  1. loading widgets are created as early as possible - just after the config file is loaded. Example might be a progress bar.

  2. layout widgets are created after the layout is built but prior to panes being created and the map is loaded. Example: adjust the layout before any contents are added. Not sure of the usefulness of this type. Open for discussion.

  3. layer widgets (and map widgets) created after the map and layers have been loaded but prior to panes being created and before other widgets are loaded. Example: setting the definition expression for a feature layer. Similar in concept to a layer load event but easier to compartmentalize and manage the code as a widget.

adds 3 new entry points within the Controller when widgets can be created.
use the widget's key internally when no id is available
@DavidSpriggs
Copy link
Member

Flexibility is always good. Documentation will be key.

@DavidSpriggs DavidSpriggs merged commit 177882d into develop Dec 5, 2016
@DavidSpriggs DavidSpriggs deleted the feature/new-widget-types branch December 5, 2016 18:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants