As a developer I want to run some code after the grid contents is rendered. It would be awesome if there was a JS method returning a promise that resolves when all pending internal grid operations are completed, or a DOM event (or both). Currently the gird does not provide an API for that.
Example use cases:
measure page load performance (grid is rendered => the page is rendered)
start an animation after the grid is rendered
script interactions with the grid in UI tests
Currently the grid exposes the notifying loading property, but that is not a good proxy for visual completeness:
Description
As a developer I want to run some code after the grid contents is rendered. It would be awesome if there was a JS method returning a promise that resolves when all pending internal grid operations are completed, or a DOM event (or both). Currently the gird does not provide an API for that.
Example use cases:
Currently the grid exposes the notifying
loading
property, but that is not a good proxy for visual completeness:Expected outcome
grid-loaded
event is triggeredgrid.then()
returns a promiseBrowsers Affected