Show TOC

Supporting RefreshLocate this document in the navigation structure

To refresh a CHIP instance, you can use the refresh() method in a page builder. The attachRefresh(fnEventHandler) method of the refresh contract allows a CHIP instance to attach a listener to the refresh event.

If a CHIP instance has attached a listener, it handles the refresh event on its own in a suitable way, for example, by refreshing the data that it currently displays.

CHIP instances that have not attached a listener can be identified from the return value of the refresh() method. You can recreate such CHIPs to force a refresh. The page builder must trigger the refresh.