-
Notifications
You must be signed in to change notification settings - Fork 77
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
Introduce pattern to notify on resource loading (to support skeleton state designs) #5162
Comments
There is a similar component available as part of Hub, we should consider some discussions with team members as we move forward with the effort. refer to #1088 (comment) Virtualization effort for #7384 is dependent on the skeleton state. |
Automated testing would also benefit from this (e.g., icon done fetching icon path data). |
Example of use case from Scene Viewer: So, we'd like to:
Please note:
Our draft in SVG here
|
Description
calcite-avatar
,calcite-tip
and other resource loading components, lack a way to notify developers that the component has fully loaded and ready to be displayed.Acceptance Criteria
An events or some other mechanism to allow consumers to know when resources have loaded and the component can be displayed.
Relevant Info
Ideas
Related issue: #1088
Blocked issues: #7520
Which Component
calcite-avatar
(loads image)calcite-tip
(loads image)Example Use Case
A wrapping component with skeleton state that is waiting for
calcite-avatar
's image to load before displaying it.The text was updated successfully, but these errors were encountered: