angular-ui/ui-grid

Restore state timing issue

Open

#4,526 建立於 2015年10月15日

在 GitHub 查看
 (10 留言) (1 反應) (0 負責人)JavaScript (5,395 star) (2,496 fork)batch import
help wanted

描述

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.

貢獻者指南