angular-ui/ui-grid

Restore state timing issue

Open

#4 526 ouverte le 15 oct. 2015

Voir sur GitHub
 (10 commentaires) (1 réaction) (0 assignés)JavaScript (2 496 forks)batch import
help wanted

Métriques du dépôt

Stars
 (5 395 stars)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

Description

When is it safe to call restore described here? http://ui-grid.info/docs/#/tutorial/208_save_state

On page load, restore only works properly if I add a delay. But how do I know what the delay should be? Could someone please define when it is safe to call restore? At least then I can check if it is safe every 500ms or so, until it is safe to call restore.

Thank you.

Guide contributeur