This directory contains information related to preloads that can be used in a platform or workspace platform type application.
This repository contains examples showing how to setup preload scripts as well as some examples on how they can be used.
Example | Description |
---|---|
How To - Use Preloads Basic | This is an example of how to wire up preloads to the different entities of an OpenFin application. If you just want to know how to add a preload script then this is the simplest example (each preload simply console.logs a message) |
How To - Restart On Refresh | This is an example of how to wire up a preload script that checks the urls a view navigates to and if the page is reloaded/refreshed then it navigates back to the original url |
Read more about our recommended development environment.