Note: this feature is available for development purposes only and will be officially released in v26.
Once the app loads our /app view will create a hidden window with the name 'popup'. The client/src/app.ts sets up a button that when clicked will show that name: 'popup' window as a popup. This window will be hidden when the popup is dismissed and could be shown again with different content by changing the url passed to showPopupWindow.
Follow the instructions below to get up and running.
- Install dependencies. Note that these examples assume you are in the sub-directory for the example.
$ npm install- Build the project.
$ npm run build- Start the test server in a new window.
$ npm run start- Start the Platform application.
$ npm run clientA single view with a "show popup" button, click the button to create and interact with the popup window.
This is an example of how to use OpenFin APIs to configure OpenFin Container. Its purpose is to provide an example and suggestions. DO NOT assume that it contains production-ready code. Please use this as a guide and provide feedback. Thanks!